summaryrefslogtreecommitdiff
path: root/packages/prism3-support/files/hostap-fw-load
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 /packages/prism3-support/files/hostap-fw-load
parent50551644d355edeb132c34a18c36abd7408c3ee1 (diff)
prism3-support: Do try to uload firmware when cardctl is missing
Diffstat (limited to 'packages/prism3-support/files/hostap-fw-load')
-rw-r--r--packages/prism3-support/files/hostap-fw-load2
1 files changed, 2 insertions, 0 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