提交 281e27c8 编写于 作者: W Wey-Yi Guy 提交者: John W. Linville

iwlagn: do nothing when disable agg in wrong state

When disable aggregation request come in on wrong agg state. ignore it
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 9e8107ed
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册