summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpizza <pizza>2008-02-11 14:58:42 +0000
committerpizza <pizza>2008-02-11 14:58:42 +0000
commitf4e7f4946f5de4bd6666f37f5b2498ed90486f4a (patch)
tree55855929ab0cd78ffb1e2c88c4c1c10c4f0b64aa
parent91e72a6524142beca7d0b642be5ac62b8b9baa3b (diff)
downloadlinux-wlan-ng-f4e7f4946f5de4bd6666f37f5b2498ed90486f4a.tar.gz
linux-wlan-ng-f4e7f4946f5de4bd6666f37f5b2498ed90486f4a.tar.bz2
linux-wlan-ng-f4e7f4946f5de4bd6666f37f5b2498ed90486f4a.zip
Always perform an ifstate_disable before a fwload cycle.
-rw-r--r--CHANGES1
-rw-r--r--src/prism2/shared.prism21
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 34cbb06..b8f5ce2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -41,6 +41,7 @@
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------
+ - Always do an ifstate_disable before a firmware load cycle.
- Default to wireless extension mode.
- Make the SIWENCODE behaivor more closely match the spec. (Tormod Volden)
- Apply a patch from Karl Relton that improves USB reliability.
diff --git a/src/prism2/shared.prism2 b/src/prism2/shared.prism2
index 21b9e8a..7213a9e 100644
--- a/src/prism2/shared.prism2
+++ b/src/prism2/shared.prism2
@@ -62,6 +62,7 @@ prism2_fwload ()
# figure out firmware image and dump it over.
+ $WLANCTL $1 lnxreq_ifstate ifstate=disable
$WLANCTL $1 lnxreq_ifstate ifstate=fwload
HARDWARE=`$PRISM2DL -s $1 | grep 0x0008 | cut -c26-29`
case "$HARDWARE" in