wl1271: use per-channel max tx power passed by mac80211 when scanning
authorLuciano Coelho <luciano.coelho@nokia.com>
Thu, 8 Jul 2010 14:50:08 +0000 (17:50 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Jul 2010 20:42:23 +0000 (16:42 -0400)
commit3cc7b544bde2f87da84a0bd3a8e2cd17a3024442
tree0d957b74addf7b4c4d96be8e19be03bee69e77fd
parent08688d6b1a85484cc8e4a920afc60ffa6559999d
wl1271: use per-channel max tx power passed by mac80211 when scanning

We were always using the max transmit power when scanning.  Now we use the
values passed to the driver by the mac80211 stack, so that we comply with
regulations.

Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Saravanan Dhanabal <ext-saravanan.dhanabal@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_scan.c