ath9k: make NF load complete quickly and reliably
authorMiaoqing Pan <miaoqing@codeaurora.org>
Fri, 5 Feb 2016 01:45:50 +0000 (09:45 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Mar 2016 17:27:17 +0000 (19:27 +0200)
commit82def495d118c6d36300c1cf2448c276273be603
treeae61bc193e337cf595c0f89aed7848239e1109b5
parentc28e6f06ff401ce8f37d58ff6d8123664cd65a51
ath9k: make NF load complete quickly and reliably

Make NF load complete quickly and reliably. NF load execution
is delayed by HW to end of frame if frame Rx or Tx is ongoing.
Increasing timeout to max frame duration. If NF cal is ongoing
before NF load, stop it before load, and restart it afterwards.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/calib.c