]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2013 03:08:07 +0000 (12:08 +0900)
commit1252286e425da7485af9bb0506c029ac61de30df
tree0f698fecbcfe4c9bc8fdc55c79b6276085fdb077
parenteca970de7c31574810e80ed780b8a661fc703213
cfg80211: use the correct macro to check for active monitor support

commit 180032973ee97daddf5c9d733e5b425b108f8679 upstream.

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.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c