mac80211: avoid transmitting delBA to old AP
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Oct 2010 17:37:40 +0000 (19:37 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Oct 2010 20:30:40 +0000 (16:30 -0400)
commit53f73c09d64f1fa7d7e6e8b6bb7468d42eddc92d
treea9284928f65ad33b3cbef9625871bb0c0116f875
parent845d708e62f08a45ff716fdb270c52585cad31d0
mac80211: avoid transmitting delBA to old AP

When roaming while we have active BA session,
we can end up transmitting delBA frames to
the old AP while we're already on the new AP's
channel, which can cause warnings.

Simply avoid sending those frames, but still
tear down the internal session state, since
they are not really necessary anyway as we
will implicitly disassociate when sending the
association to the new AP.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c
net/mac80211/debugfs_sta.c
net/mac80211/ht.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mlme.c
net/mac80211/pm.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/util.c