]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: iterate all interfaces during HW recovery cleanup
authorArik Nemtsov <arik@wizery.com>
Mon, 23 Feb 2015 12:42:41 +0000 (14:42 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:13:24 +0000 (13:13 +0300)
commit737719fe9fd17fe6f7ca87c8bd62f0e16ee73ead
treeddcd757fa9216e0646a351cde34f6d1a65adb5e7
parent999d2568ee0c2bbdf71a414e85fffe5d58fe766a
iwlwifi: mvm: iterate all interfaces during HW recovery cleanup

Usually during HW recovery the state of all active interfaces is cleaned
up during drv_start(). There's a special case where a HW restart is
requested when an interface is going down. In this case the iface-iterator
won't see this interface and we won't clean it. This has bad consequences
once the interface is legitimately brought up again.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c