cfg80211: use the correct macro to check for active monitor support
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 29 Aug 2013 10:26:57 +0000 (13:26 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Sep 2013 11:22:45 +0000 (13:22 +0200)
commit180032973ee97daddf5c9d733e5b425b108f8679
tree1840570aee1d9f255c77ab57f1c107b87b87583b
parent272b98c6455f00884f0350f775c5342358ebb73f
cfg80211: use the correct macro to check for active monitor support

Use MONITOR_FLAG_ACTIVE, which is a flag mask, instead of
NL80211_MNTR_FLAG_ACTIVE, which is a flag index, when checking if the
hardware supports active monitoring.

Cc: stable@vger.kernel.org
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c