]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix tx seq_ctrl debug print
authorEliad Peller <eliadx.peller@intel.com>
Tue, 31 Dec 2013 16:54:06 +0000 (18:54 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 Jan 2014 20:17:14 +0000 (22:17 +0200)
commit64438627e2b748f1d4a63355ff36f121dba4c1c3
tree66a223b4a162b24f9ffe4c80933a053d4a7863c1
parent0bdd60869873e8999c3de1629a6ffb342a0283f4
iwlwifi: mvm: fix tx seq_ctrl debug print

Since seq_number is incremented right after using
it, so printed seq_ctrl was actually the next
one to be used.

Fix it by incrementing the seq_number only later,
before saving it.

Additionally, use the IEEE80211_SEQ_TO_SN macro
in order to print the actual sequence number.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/tx.c