]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0bc9ffda1611313a6378cd4323e1806815a4602
tree1840570aee1d9f255c77ab57f1c107b87b87583b
parent8d77f31568220a8293f2e30959e7772efe92c198
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