]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72a76ceb0f84359097930b41424c1e6265ddb5de
treea9284928f65ad33b3cbef9625871bb0c0116f875
parentc0b0a7f497d9e9a25d8675165d936f5804636626
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