madwifi.sh channel fix
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Sun, 12 Jul 2009 15:37:59 +0000 (15:37 +0000)
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Sun, 12 Jul 2009 15:37:59 +0000 (15:37 +0000)
commit01b07444c784f3a67ec552e6f1d9a22927e73576
tree44529e31f62045ae17a19c539e53c53ceaedd0cf
parent7ea8f5dbd4d734e37a1a8c907227074ee22ea944
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