mac80211: change beacon/connection polling
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 27 Aug 2013 09:36:35 +0000 (11:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Sep 2013 11:27:11 +0000 (13:27 +0200)
commit392b9ffb05b62fe38aa813b924d160ab663cec8d
tree99e841bbfa3a32368cdaceb9fd7bc40a576a0205
parenta6ececf4ee24495ecf74672152e28c31cc208df3
mac80211: change beacon/connection polling

Since when we detect beacon lost we do active AP probing (using nullfunc
frame or probe request) there is no need to have beacon polling. Flags
IEEE80211_STA_BEACON_POLL seems to be used just for historical reasons.

Change also make that after we start connection poll due to beacon loss,
next received beacon will abort the poll.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/scan.c