Skip to content

Commit

Permalink
iwlagn: do nothing when disable agg in wrong state
Browse files Browse the repository at this point in the history
When disable aggregation request come in on wrong agg state. ignore it

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Oct 14, 2011
1 parent 9e8107e commit 281e27c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ int iwl_trans_pcie_tx_agg_disable(struct iwl_trans *trans,
default:
IWL_WARN(trans, "Stopping AGG while state not ON"
"or starting\n");
spin_unlock_irqrestore(&trans->shrd->sta_lock, flags);
return 0;
}

write_ptr = trans_pcie->txq[txq_id].q.write_ptr;
Expand Down

0 comments on commit 281e27c

Please sign in to comment.