wl1271: Rewrite hardware keep-alive handling
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Wed, 28 Apr 2010 06:50:01 +0000 (09:50 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Apr 2010 20:50:26 +0000 (16:50 -0400)
commit82429d32ca3bae9d67faa32ffbc989be2e63094f
treedadf23d8eb19e5e89598954b92df7e69d4f7eb95
parent141418c7ed22849449f39f8938c9cf0eae6c524f
wl1271: Rewrite hardware keep-alive handling

The driver had a join command without keep-alive restart procedures in the
channel changing code. After associated scans, the mac80211 does re-set the
current channel, causing the join to occur. This would stop the hardware
keep alive.

To make the joins safer in this respect, this patch adds a join function that
does the hardware-keep-alive magic along the join. This is now invoked in the
above mentioned scenario, and also other scenarios.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_main.c