summaryrefslogtreecommitdiffstats
path: root/meta/packages/misc-binary-only/prism-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/misc-binary-only/prism-firmware')
-rw-r--r--meta/packages/misc-binary-only/prism-firmware/prism-fw.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh b/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh
index c58600791c..619f612be1 100644
--- a/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh
+++ b/meta/packages/misc-binary-only/prism-firmware/prism-fw.sh
@@ -4,7 +4,7 @@ CARD_ID=`/usr/sbin/hostap_diag $INTERFACE|grep NICID|awk '{print $2}'|sed -e 's/
4 4
5# 801d cards lack even Primary firmware so we cannot use hostap_diag 5# 801d cards lack even Primary firmware so we cannot use hostap_diag
6PRI=/lib/firmware/pm010102.hex 6PRI=/lib/firmware/pm010102.hex
7STA=/lib/firmware/rf010804.hex 7STA=/lib/firmware/rf010704.hex
8 8
9if [ $CARD_ID = '800c' ] || [ $CARD_ID = '8013' ] || [ $CARD_ID = '8017' ] || \ 9if [ $CARD_ID = '800c' ] || [ $CARD_ID = '8013' ] || [ $CARD_ID = '8017' ] || \
10 [ $CARD_ID = '801b' ] || [ $CARD_ID = '8022' ] || [ $CARD_ID = '8023' ] ; then 10 [ $CARD_ID = '801b' ] || [ $CARD_ID = '8022' ] || [ $CARD_ID = '8023' ] ; then
@@ -28,6 +28,5 @@ if grep -q no_pri=1 $DIR/debug; then
28 /usr/sbin/prism2_srec -gp wlan0 $PRI 28 /usr/sbin/prism2_srec -gp wlan0 $PRI
29fi 29fi
30 30
31if grep -q pri_only=0 $DIR/debug; then 31/usr/sbin/prism2_srec -rp wlan0 $STA
32 /usr/sbin/prism2_srec -rp wlan0 $STA 32
33fi