OSDN Git Service

mac80211: fix ieee80211_set_disassoc() sending DelBA
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Feb 2012 12:50:53 +0000 (13:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Feb 2012 19:11:34 +0000 (14:11 -0500)
commit02d83e60b9864e7920d87b49e1fbedffd32470f8
tree39902588077df80fff31aacf5a1fc136e8f4cc7e
parent5fef7dbcadbb85079d3bf56625dd12e6d2816e3d
mac80211: fix ieee80211_set_disassoc() sending DelBA

When ieee80211_set_disassoc() is called with the
tx argument set to true, it will send DelBA out
to the peer. This isn't useful or necessary in a
few cases where we do it today, those being when
we lost the connection or when the supplicant
explicitly asked us to not tell the AP.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c