[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
master
Vasilis Tsiligiannis 2009-06-29 21:13:10 +00:00
parent a4fb93f134
commit 66eee3b1a2
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ append DRIVERS "mac80211"
scan_mac80211() { scan_mac80211() {
local device="$1" local device="$1"
local adhoc sta ap local adhoc sta ap monitor mesh
config_get vifs "$device" vifs config_get vifs "$device" vifs
for vif in $vifs; do for vif in $vifs; do
@ -20,7 +20,7 @@ scan_mac80211() {
esac esac
done 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}"
} }