mac80211: agg-rx: Accept ADDBA request update if timeout did not change
authorIlan Peer <ilan.peer@intel.com>
Mon, 19 Feb 2018 12:48:44 +0000 (14:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 27 Feb 2018 10:06:04 +0000 (11:06 +0100)
commit21b7022f13fb038b3e204a892c7cc42749754f7f
tree4d4497d4334c78b91fd5e9781d55fe3b76732e7f
parent9251a4736ee360d3850644ddaaa1a61dcec96238
mac80211: agg-rx: Accept ADDBA request update if timeout did not change

As there is no support for updating an existing ADDBA session with
a peer, we decline the request (while keeping the session active).
However, in case that the timeout did not change, there is no need
to decline the request, so modify the code to reply with status success
in such a case (this is useful for interoperability with APs that send an
ADDBA request update without changing the timeout value).

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c