commit | bca7bafbe2b75ed31cc6943b81218ea0f8a13686 | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Mon May 26 12:46:03 2014 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Tue May 27 12:27:59 2014 +0300 |
tree | bc42e3d0bf2ee9a4aae1515584c214976e00a12c | |
parent | c5058f5b82f226b236dc5a65015152ed3c23efff [diff] |
ath10k: drain tx before restarting hw This makes sure no further tx requests are submitted to HTT before driver teardown. This should prevent invalid pointer/NULL dereference on htt tx pool in ath10k_htt_tx() in some cases of heavy traffic. kvalo: remove the WARN_ON() if conf_mutex is held Reported-By: Ben Greear <greearb@candelatech.com> Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>