diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2009-06-29 21:13:10 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2009-06-29 21:13:10 +0000 |
commit | 3b1c6c03791046331227baae4c10854cb2effbac (patch) | |
tree | 99e81f91504748135d0544ef51f3f451439067f8 /package/mac80211/files | |
parent | baa9053e7a6047867726db77992a453c1f32a08d (diff) | |
download | upstream-3b1c6c03791046331227baae4c10854cb2effbac.tar.gz upstream-3b1c6c03791046331227baae4c10854cb2effbac.tar.bz2 upstream-3b1c6c03791046331227baae4c10854cb2effbac.zip |
mac80211: Declare some variables as local and remove unused
SVN-Revision: 16627
Diffstat (limited to 'package/mac80211/files')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 2721e4d7cb..5d4fcee271 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -3,7 +3,7 @@ append DRIVERS "mac80211" scan_mac80211() { local device="$1" - local adhoc sta ap + local adhoc sta ap monitor mesh config_get vifs "$device" vifs for vif in $vifs; do @@ -20,7 +20,7 @@ scan_mac80211() { esac done - config_set "$device" vifs "${ap:+$ap }${adhoc:+$adhoc }${ahdemo:+$ahdemo }${sta:+$sta }${wds:+$wds }${monitor:+$monitor }${mesh:+$mesh}" + config_set "$device" vifs "${ap:+$ap }${adhoc:+$adhoc }${sta:+$sta }${monitor:+$monitor }${mesh:+$mesh}" } |