mac80211: consider virtual mon when calculating min_def
authorEliad Peller <eliad@wizery.com>
Mon, 3 Mar 2014 11:37:14 +0000 (13:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 3 Mar 2014 12:48:13 +0000 (13:48 +0100)
When calculating the current max bw required for
a channel context, we didn't consider the virtual
monitor interface, resulting in its channel context
being narrower than configured.

This broke monitor mode with iwlmvm, which uses the
minimal width.

Reported-by: Ido Yariv <idox.yariv@intel.com>
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c

Simple merge