projects
/
openwrt
/
staging
/
luka.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts: fix wrong usage of '==' operator
[openwrt/staging/luka.git]
/
package
/
kernel
/
mac80211
/
files
/
lib
/
netifd
/
wireless
/
mac80211.sh
diff --git
a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index e6241deb5f8c115033cc9264fe9b2830e1e77c56..918955a98a4dd465ae9af2953d1eb41453ccd0bc 100644
(file)
--- a/
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@
-476,7
+476,7
@@
mac80211_setup_adhoc() {
json_get_vars bssid ssid key mcast_rate
keyspec=
- [ "$auth_type" =
=
"wep" ] && {
+ [ "$auth_type" = "wep" ] && {
set_default key 1
case "$key" in
[1234])