projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0280ac8
)
madwifi: add wep+open, wep+shared format support to madwifi as well
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 27 Oct 2010 11:25:59 +0000
(11:25 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 27 Oct 2010 11:25:59 +0000
(11:25 +0000)
SVN-Revision: 23657
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 2b2e699d08ca577ae61c02ce890d732148e939e0..4d390dd1da2e7cc5aadd975ed3f3180d4b703301 100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-215,7
+215,11
@@
enable_atheros() {
}
case "$enc" in
- WEP|wep)
+ wep*)
+ case "$enc" in
+ *open*) iwpriv "$ifname" authmode 1;;
+ *) iwpriv "$ifname" authmode 2;;
+ ;;
for idx in 1 2 3 4; do
config_get key "$vif" "key${idx}"
iwconfig "$ifname" enc "[$idx]" "${key:-off}"