]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix mis-merge that breaks the driver
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 May 2016 18:51:25 +0000 (11:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 May 2016 19:11:22 +0000 (12:11 -0700)
commit81dc28d225f9463c88412558ef2d8aced272db97
treed9d0737b204687dcb8783441cda75e7c6d991a91
parent495cf9d5cc74e127cc2ebbcfa2b1197108fd5dd7
iwlwifi: fix mis-merge that breaks the driver

My laptop that uses the intel 7680 iwlwifi module would no longer
connects to the network.  It would fail with a "Microcode SW error
detected." and spew out register state over and over again without ever
connecting to the network.

The cause is mis-merge in commit 3d91851af9b2, where David seems to have
lost some of the changes to iwl_mvm_set_tx_cmd() from commit
3c639604c876 ("iwlwifi: mvm: don't override the rate with the AMSDU
len").

The reason seems to be a conflict with commit 7b1fdf887a8d ("iwlwifi:
mvm: add support for new TX CMD API"), which touched a line adjacent to
the changes in 3d91851af9b2.

David missed the fact that "info->driver_data[0]" had become
"skb_info->driver_data[0]".  Then he removed the skb_info because it was
unused.

This just re-updates iwl_mvm_set_tx_cmd() with the lost two lines.

Reported-and-tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Reinoud Koornstra <reinoudkoornstra@gmail.com>
Cc: Luciano Coelho <luciano.coelho@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c