iwlwifi: mvm: make sure AP is operating for ToF
authorJohannes Berg <johannes.berg@intel.com>
Wed, 26 Aug 2015 13:55:04 +0000 (15:55 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 21 Sep 2015 15:08:43 +0000 (18:08 +0300)
commitda583fdfececf69571d3b8fafed278310592eec1
treecd09544143b66a1418157211b303c457610f6fd2
parent38d5f66f062a65bfc436013135a817e53037ccca
iwlwifi: mvm: make sure AP is operating for ToF

It's possible for an AP interface to be UP but not actually
operating (i.e. not beaconing etc.) - in this case it can't
actually do ToF, so check for it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/tof.c