mac80211: Fix ieee80211_sta_conn_mon_timer with hw connection monitoring
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 20 Apr 2010 10:15:56 +0000 (13:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Apr 2010 15:52:40 +0000 (11:52 -0400)
commit7bdfcaaff5de368a88a4f784f7283b66c17d051d
treef871cfa0a3aeb06f184e884a084b944b0c92480f
parent58b5190e740241b33fcd901855436aa5d0c5e087
mac80211: Fix ieee80211_sta_conn_mon_timer with hw connection monitoring

When IEEE80211_HW_CONNECTION_MONITOR is configured by the driver, starting
of ieee80211_sta_conn_mon_timer should be prevented, as it is then not needed.

This is currently partially the case. As it seems, when a probe-response is
received from the AP the timer is still restarted, thus restarting the host
based connection keep-alive mechanism. These probe-responses happen at least
when scanning while associated.

Fix this by preventing starting of the ieee80211_sta_conn_mon_timer in the
ieee80211_rx_mgmt_probe_resp function.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c