dect
/
linux-2.6
Archived
13
0
Fork 0

iwlagn: do nothing when disable agg in wrong state

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>
This commit is contained in:
Wey-Yi Guy 2011-10-10 07:27:05 -07:00 committed by John W. Linville
parent 9e8107ed90
commit 281e27c809
1 changed files with 2 additions and 0 deletions

View File

@ -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;