iwlwifi: mvm: fix scan condition iterator
authorDavid Spinadel <david.spinadel@intel.com>
Sun, 26 Oct 2014 13:53:27 +0000 (15:53 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 12:13:46 +0000 (14:13 +0200)
commit1e2ebe0e407159ae94974a93264260883f9a39ad
tree62d0ce4c226a5a381eadbee65aadfd57b0285955
parentaadede6e9f4c8ee46808b2f697b714ee50810e23
iwlwifi: mvm: fix scan condition iterator

Scan condition iterator assumes that an interface is associated if
phy_ctxt is assigned, but this isn't the sutuation in P2P device.
OTOH P2P device is never associated so we can simply ignore it.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c