mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 02:02:28 +09:00
iwlwifi: mvm: take the seqno from packet if transmit failed
commit ebea2f32e8 upstream.
The fw is unreliable in all the cases in which the packet
wasn't sent.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0710345e2d
commit
07e915c91b
@@ -610,8 +610,8 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,
|
||||
!(info->flags & IEEE80211_TX_STAT_ACK))
|
||||
info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
|
||||
|
||||
/* W/A FW bug: seq_ctl is wrong when the queue is flushed */
|
||||
if (status == TX_STATUS_FAIL_FIFO_FLUSHED) {
|
||||
/* W/A FW bug: seq_ctl is wrong when the status isn't success */
|
||||
if (status != TX_STATUS_SUCCESS) {
|
||||
struct ieee80211_hdr *hdr = (void *)skb->data;
|
||||
seq_ctl = le16_to_cpu(hdr->seq_ctrl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user