broadcom-wl: read channel using wlc on detect
authorHauke Mehrtens <hauke@openwrt.org>
Sun, 28 Apr 2013 18:21:34 +0000 (18:21 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sun, 28 Apr 2013 18:21:34 +0000 (18:21 +0000)
commit54eb5992b3b32bae31ece1fc324f9e171db4f545
treef966c714177f7f616e5bab5b6d2366e0fe3321d7
parent219ed3f7c16da490c76976c375391929b7204fa9
broadcom-wl: read channel using wlc on detect

Hardcoding channel number to 11 is a bad idea, it may be even not
available on some devices. If there are two single-band radios, the
one for 5GHz doesn't have 11 channel.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36479 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/broadcom-wl/files/lib/wifi/broadcom.sh