wl12xx: call extended radio parameters for wl127x AP mode
authorLuciano Coelho <coelho@ti.com>
Tue, 13 Dec 2011 09:39:50 +0000 (11:39 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 15 Dec 2011 07:58:41 +0000 (09:58 +0200)
commit2c8f82eabc6b3b6d1fc97954377e67f2d83db687
tree755c64ad5307f2bdd1caec0f3d4a04088cf66945
parentf414218ed8bc716825755c9cf59f16a19f28314a
wl12xx: call extended radio parameters for wl127x AP mode

We need to set the extended radio parameters for wl127x only.
Currently, we were only calling this command with wl127x STA mode, but
we should also do it for AP mode.

Move the call to the extended radio paramaters to the common hw_init
and use a single if for the chip type to do everything at once.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/init.c