summaryrefslogtreecommitdiff
path: root/packages/prism3-support
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-05 23:19:00 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-05 23:19:00 +0000
commit83f47bd69f7ed257be72bec3fd524cf4128ed29a (patch)
tree3dc091a60f47e8b30a382e2baa0bc9e31ff56f96 /packages/prism3-support
parenteb53b8c0ef1efef31d39cb1530287cb3facdaf85 (diff)
prism3-support: Only attempt prism firmware on wireless interfaces (#693). Could be improved to only try on hostap interfaces but requires sysfs magic incompatible with 2.4
Diffstat (limited to 'packages/prism3-support')
-rw-r--r--packages/prism3-support/files/hostap-fw-load6
-rw-r--r--packages/prism3-support/prism3-support_1.0.0.bb2
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/prism3-support/files/hostap-fw-load b/packages/prism3-support/files/hostap-fw-load
index 00df1ef848..707030c6a7 100644
--- a/packages/prism3-support/files/hostap-fw-load
+++ b/packages/prism3-support/files/hostap-fw-load
@@ -1,4 +1,9 @@
#!/bin/sh
+
+# dont handle non-wireless interfaces
+if [ -n `cat /proc/net/wireless|grep $IFACE` ]; then
+ exit 0
+fi
if test -e /sbin/cardctl; then
CARDCTL=/sbin/cardctl
@@ -18,3 +23,4 @@ fi
# lets hope that run-parts obeys the order :D
+exit 0 \ No newline at end of file
diff --git a/packages/prism3-support/prism3-support_1.0.0.bb b/packages/prism3-support/prism3-support_1.0.0.bb
index 830da22c2b..b3c00e422f 100644
--- a/packages/prism3-support/prism3-support_1.0.0.bb
+++ b/packages/prism3-support/prism3-support_1.0.0.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
DEPENDS = "prism3-firmware hostap-utils"
RDEPENDS = "prism3-firmware hostap-utils"
PACKAGE_ARCH = "all"
-PR = "r2"
+PR = "r3"
SRC_URI = "file://hostap-fw-load"