]> git.openpandora.org Git - openembedded.git/commitdiff
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 538a4a7836863aabdeea01721446e3c1f0605020..0b2aec51a869a171cff8aed02ddbe2e5f64eeed3 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 12a8caea81641dd9888be2f69ea361b2dd2a45b1..dfe3f5a9fb325f646e6900bca7e8dbced5bfb750 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"