]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mac80211: minstrel_ht: fix a logic error in RTS/CTS handling
authorFelix Fietkau <nbd@openwrt.org>
Wed, 24 Feb 2016 11:07:17 +0000 (12:07 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:27:22 +0000 (10:27 +0100)
commitd5976a9da0a0d82434d8d9f646a5551bea7c306c
tree6f87b7be8a1c462b1cfa0165fcef3ea0199bd39b
parent8eecb5dc53b1dcfd0682402ad838ef4c248218f5
mac80211: minstrel_ht: fix a logic error in RTS/CTS handling

BugLink: http://bugs.launchpad.net/bugs/1558330
commit c36dd3eaf1a674a45b58b922258d6eaa8932e292 upstream.

RTS/CTS needs to be enabled if the rate is a fallback rate *or* if it's
a dual-stream rate and the sta is in dynamic SMPS mode.

Fixes: a3ebb4e1b763 ("mac80211: minstrel_ht: handle peers in dynamic SMPS")
Reported-by: Matías Richart <mrichart@fing.edu.uy>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
net/mac80211/rc80211_minstrel_ht.c