iwlwifi: mvm: teardown TDLS peers during chan-switch and AP DCM
authorArik Nemtsov <arik@wizery.com>
Sun, 15 Jun 2014 13:03:55 +0000 (16:03 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 22 Jul 2014 19:08:47 +0000 (22:08 +0300)
commitf697267f827516fba4d0c325ed1db1e72f402f11
tree08509094bf9b271ae4a16503d3c59f39674b018a
parentae0008c71a192abe6f0fed7082d5e5b1cadfd4e7
iwlwifi: mvm: teardown TDLS peers during chan-switch and AP DCM

The DCM condition was not checked well for channel switch in both AP and
station scenarios. Teardown was also not done for AP/GO DCM. Add the
missing checks.

Reported-by: Peer, Ilan <ilan.peer@intel.com>
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c