summaryrefslogtreecommitdiff
path: root/wlan-ng
diff options
context:
space:
mode:
Diffstat (limited to 'wlan-ng')
-rw-r--r--wlan-ng/files/pre-up9
-rw-r--r--wlan-ng/wlan-ng-modules_0.2.1pre22.oe2
2 files changed, 6 insertions, 5 deletions
diff --git a/wlan-ng/files/pre-up b/wlan-ng/files/pre-up
index 002ab37511..0ae410edfa 100644
--- a/wlan-ng/files/pre-up
+++ b/wlan-ng/files/pre-up
@@ -1,4 +1,7 @@
#!/bin/sh
+
+case "$METHOD" in loopback) exit 0 ;; esac
+
#
# This script takes care of bringing up wlan-ng device.
# It is run by ifup, and gets information from the
@@ -13,10 +16,8 @@ if [ ! -x $WLANCTL ] ; then
fi
# Detect and act only on linux-wlan-ng interfaces
-if [ -x /sbin/wlancfg ]; then
- if ! /sbin/wlancfg show $IFACE >/dev/null 2>&1; then
- exit 0
- fi
+if [ "$IF_WIRELESS_TYPE" != "wlan-ng" ]; then
+ exit 0
fi
# Create a lock file; remove on script exit. This is a fairly crummy lock,
diff --git a/wlan-ng/wlan-ng-modules_0.2.1pre22.oe b/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
index d52e795cfe..0f96a81b03 100644
--- a/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
+++ b/wlan-ng/wlan-ng-modules_0.2.1pre22.oe
@@ -4,7 +4,7 @@ DEPENDS = "virtual/kernel"
RRECOMMENDS = "wlan-ng-utils"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
LICENSE = "GPL"
-PR = "r7"
+PR = "r8"
SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \
file://no-compat.patch;patch=1 \