git.openpandora.org
/
openpandora.oe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rc.wl1251: Bring network interface down on shutdown, otherwise, drivers cannot be...
[openpandora.oe.git]
/
recipes
/
pandora-system
/
wl1251-modules
/
rc.wl1251
diff --git
a/recipes/pandora-system/wl1251-modules/rc.wl1251
b/recipes/pandora-system/wl1251-modules/rc.wl1251
index
17df192
..
ec4677b
100755
(executable)
--- a/
recipes/pandora-system/wl1251-modules/rc.wl1251
+++ b/
recipes/pandora-system/wl1251-modules/rc.wl1251
@@
-4,9
+4,8
@@
NAME="wl1251"
d_stop() {
if `grep -q wl1251 /proc/modules` ; then
- rmmod wl1251_sdio
- rmmod wl1251
- rmmod board-omap3pandora-wifi 2> /dev/null
+ ifconfig wlan0 down
+ rmmod board_omap3pandora_wifi wl1251_sdio wl1251 2> /dev/null
fi
}