]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: recalc min_def chanctx even when chandef is identical
authorArik Nemtsov <arik@wizery.com>
Wed, 2 Mar 2016 21:28:33 +0000 (23:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 08:51:08 +0000 (10:51 +0200)
commit498adc7cf48f36605a88304bbaf8e3b80b59c202
tree2563b92e174b47c18bfd73729edadb96f8b40dd9
parent8d692c2cbbe402d1efffd8238888c5940c956a0e
mac80211: recalc min_def chanctx even when chandef is identical

The min_def chanctx is affected not only by the current chandef, but
sometimes also by other stations on the vif. There's a valid scenario
where a TDLS peer can widen its BW, thereby causing the min_def
to increase.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c