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)
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>

No differences found