]> git.ipfire.org Git - people/ms/linux.git/commit
mac80211: reset probe_send_count also in HW_CONNECTION_MONITOR case
authorEliad Peller <eliad@wizery.com>
Tue, 11 Feb 2014 10:30:18 +0000 (12:30 +0200)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:12:02 +0000 (14:12 +0200)
commitd7c722da3c3aeed898eccbad143ff6bfd84812e5
tree8d43d643be7882551832c799c15e070bf2dc551a
parent27b249776f31bf46e2436bf3e41624a208e7ba61
mac80211: reset probe_send_count also in HW_CONNECTION_MONITOR case

commit 448cd2e248732326632957e52ea9c44729affcb2 upstream.

In case of beacon_loss with IEEE80211_HW_CONNECTION_MONITOR
device, mac80211 probes the ap (and disconnects on timeout)
but ignores the ack.

If we already got an ack, there's no reason to continue
disconnecting. this can help devices that supports
IEEE80211_HW_CONNECTION_MONITOR only partially (e.g. take
care of keep alives, but does not probe the ap.

In case the device wants to disconnect without probing,
it can just call ieee80211_connection_loss.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/net/mac80211.h
net/mac80211/mlme.c