]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Fix channel switch for count 0 and 1
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Thu, 4 Jan 2018 15:39:08 +0000 (17:39 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 2 Mar 2018 08:20:00 +0000 (10:20 +0200)
commit96b52e0e4ae286813796a78ab52b3eed997b7406
tree2ecb38f526837485197531a0650bea13428b2f90
parent31a1e2a87d0a1e56bed2db4cb2d94853be4648f8
iwlwifi: mvm: Fix channel switch for count 0 and 1

It was assumed that apply_time==0 implies immediate scheduling, which is
wrong. Instead, the fw expects the START_IMMEDIATELY flag to be set.
Otherwise, this resulted in 0x3063 assert.
Fix that.
While at it rename the T2_V2_START_IMMEDIATELY to
TE_V2_START_IMMEDIATELY.

Fixes: 2a3d49194602 ("iwlwifi: mvm: Fix channel switch in case of count <= 1")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/time-event.h
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c