]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: reset mvm->scan_type when firmware is started
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 3 Jan 2016 20:23:40 +0000 (22:23 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Jan 2016 17:01:25 +0000 (19:01 +0200)
commit10c8a151b8ce71d7dd7699fdd298c5bfaa2d74bb
tree71ba2c3c89f9f852e1eae8c5fef495432f782330
parent9a8533bd86696ab0d2ba08537e5ab43d9bf9a431
iwlwifi: mvm: reset mvm->scan_type when firmware is started

If we don't reset the scan type when the firmware is
started, we will think the firmware is still configured
after the interface has been brought down. When we will
bring it up again, we will not configure the scan type
in firmware and it will crash with the following assert:

0x0000100A | ADVANCED_SYSASSERT

Fixes: ef657ee2cfb8 ("iwlwifi: mvm: configure scheduled scan according to traffic conditions")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c