]> git.baikalelectronics.ru Git - 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)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 1 Mar 2016 14:49:51 +0000 (15:49 +0100)
commit4f1c6a939809d6c05039e607577c47b758924460
tree6ae29f3facd187b06451ace0448cd78c2ed0c1ed
parent0583d9074e503185efdace6c0f45f3487ae14c7c
mac80211: minstrel_ht: fix a logic error in RTS/CTS handling

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.

Cc: stable@vger.kernel.org
Fixes: 0e24b1811e5b ("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>
net/mac80211/rc80211_minstrel_ht.c