prism3-support: Only attempt prism firmware on wireless interfaces (#693). Could...
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 5 Nov 2006 23:19:00 +0000 (23:19 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Sun, 5 Nov 2006 23:19:00 +0000 (23:19 +0000)
packages/prism3-support/files/hostap-fw-load
packages/prism3-support/prism3-support_1.0.0.bb

index 00df1ef..707030c 100644 (file)
@@ -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
index 830da22..b3c00e4 100644 (file)
@@ -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"