wl12xx: set supported_rates after association
authorEliad Peller <eliad@wizery.com>
Wed, 2 Feb 2011 07:59:37 +0000 (09:59 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 9 Feb 2011 00:51:42 +0000 (22:51 -0200)
commit72c2d9e511846a4f2759389b38ed8a5553579eb3
treef0329c44ea13a81a1f69b6bd92e203e720ee6b8f
parentfe5ef090660de340b52823de7cb65b899bb4f012
wl12xx: set supported_rates after association

Instead of looking for supported_rates change on every tx packet,
just extract the supported_rates after association completes (station only).

Remove wl1271.sta_rate_set and WL1271_FLAG_STA_RATES_CHANGED which are
not used anymore.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/acx.c
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/wl12xx.h