mac80211: correct MU-MIMO monitor follow functionality
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Apr 2017 08:46:13 +0000 (10:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Apr 2017 11:41:38 +0000 (13:41 +0200)
commit8c5e68894450d3bb7471e426e2eec9a8472bb660
treee50b313dc665332967fff2740427749078df4095
parentb0265024b8b5fb35d1e1a1da6be65399e33e122e
mac80211: correct MU-MIMO monitor follow functionality

The MU-MIMO monitor follow functionality is broken because it
doesn't clear the MU-MIMO owner even if both follow features
are disabled. Fix that, and while at it move the code into a
new helper function. Call this also when creating a new monitor
interface to prepare for an upcoming cfg80211 change allowing
that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c