prism3-support: Do try to uload firmware when cardctl is missing
authorMatthias Hentges <oe@hentges.net>
Tue, 24 Jan 2006 19:39:55 +0000 (19:39 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 24 Jan 2006 19:39:55 +0000 (19:39 +0000)
packages/prism3-support/files/hostap-fw-load
packages/prism3-support/prism3-support_1.0.0.bb

index 538a4a7..0b2aec5 100644 (file)
@@ -2,6 +2,8 @@
                                                        
 # Special case for prism3 cards needing firmware upload
 # Add more known manfids, if necessary          
+
+test -x /sbin/cardctl || exit 0
                                                        
 if [ `cardctl info|grep "d601,0010\|d601,0101"` ]; then
   iwpriv "$IFACE" reset 1                             
index 12a8cae..dfe3f5a 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "GPL"
 DEPENDS = "prism3-firmware hostap-utils"
 RDEPENDS = "prism3-firmware hostap-utils"
 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-PR = "r0"
+PR = "r1"
 PACKAGE_ARCH = "all"
 
 SRC_URI = "file://hostap-fw-load"