nl80211: fix logic inversion in start_nan()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 21 Nov 2016 12:55:48 +0000 (13:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Dec 2016 11:47:18 +0000 (12:47 +0100)
commiteeb04a9688f4f939f2a0eaec5a2d53e05e75e691
treeb52457100ab52ac09be695754abde0faf695d842
parentf81a8a02bb3b3e882ba6aa580230c13b5be64849
nl80211: fix logic inversion in start_nan()

Arend inadvertently inverted the logic while converting to
wdev_running(), fix that.

Fixes: 73c7da3dae1e ("cfg80211: add generic helper to check interface is running")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c