summaryrefslogtreecommitdiff
path: root/packages/prism3-support/files/hostap-fw-load
diff options
context:
space:
mode:
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