madwifi.sh channel fix
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jul 2009 15:37:59 +0000 (15:37 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jul 2009 15:37:59 +0000 (15:37 +0000)
commit90951f130b65ad10b69d9750267819f0ee785455
tree44529e31f62045ae17a19c539e53c53ceaedd0cf
parente86d60479c5dc8543e2fe1d35f6a7e9bb7cd56c2
madwifi.sh channel fix

In the madwifi.sh there is to read "only need to change freq band and channel on the first vif". This is wrong. For example if you create a new Ad-Hoc network and an AP interface, the channel is reseted to 1, regardless of the UCI setting. So remove this wrong code.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16814 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/madwifi/files/lib/wifi/madwifi.sh