]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: reset write pointer on ict reset
authorEliad Peller <eliad@wizery.com>
Thu, 16 Jul 2015 17:17:42 +0000 (20:17 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:17:32 +0000 (10:17 +0300)
commit2d62f84cc12a01ee8b7a957d07aa8d3ae87b1708
tree6a1d8544f626504a8912e02af05a67f0df0b7a07
parentf81c1764d1a25689192c844925d02abdf05a85dd
iwlwifi: pcie: reset write pointer on ict reset

Since the CSR_DRAM_INIT_TBL_WRITE_POINTER bit wasn't set
on ict reset, in some flows (like disable ict followed by
immediate reset ict) the driver and hardware went out
of sync (the driver cleared the ict_index, while the hw
kept it intact).

Fix it by setting the flag when resetting ict.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-csr.h
drivers/net/wireless/iwlwifi/pcie/rx.c