aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-29 21:13:10 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-29 21:13:10 +0000
commit66eee3b1a21ecef79db9506d71c786c1990a2f7d (patch)
treeb99950d55bdad1fd0126e74a4f52f60affe47603 /package/mac80211
parenta4fb93f13441f79c2fdce799b3f320ef656a6b89 (diff)
downloadupstream-66eee3b1a21ecef79db9506d71c786c1990a2f7d.tar.gz
upstream-66eee3b1a21ecef79db9506d71c786c1990a2f7d.tar.bz2
upstream-66eee3b1a21ecef79db9506d71c786c1990a2f7d.zip
[package] mac80211: Declare some variables as local and remove unused
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16627 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh4
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}"
}