summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-01-24 19:39:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-24 19:39:55 +0000
commit5d0af385ab61bd075e89bb4a7bdde5450e97ef0f (patch)
treeec120aa9f183cbbbc46dad398f1b6edb407fa70b
parent50551644d355edeb132c34a18c36abd7408c3ee1 (diff)
prism3-support: Do try to uload firmware when cardctl is missing
-rw-r--r--packages/prism3-support/files/hostap-fw-load2
-rw-r--r--packages/prism3-support/prism3-support_1.0.0.bb2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/prism3-support/files/hostap-fw-load b/packages/prism3-support/files/hostap-fw-load
index 538a4a7836..0b2aec51a8 100644
--- a/packages/prism3-support/files/hostap-fw-load
+++ b/packages/prism3-support/files/hostap-fw-load
@@ -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
diff --git a/packages/prism3-support/prism3-support_1.0.0.bb b/packages/prism3-support/prism3-support_1.0.0.bb
index 12a8caea81..dfe3f5a9fb 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"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-PR = "r0"
+PR = "r1"
PACKAGE_ARCH = "all"
SRC_URI = "file://hostap-fw-load"