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)
commitcf9d11888091920e356d085a5fa1644fc5c05429
tree66a223b4a162b24f9ffe4c80933a053d4a7863c1
parent2d93aee152b1758a94a18fe15d72153ba73b5679
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