From: Michal Kazior Date: Mon, 26 May 2014 09:46:03 +0000 (+0300) Subject: ath10k: drain tx before restarting hw X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~99^2^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bca7bafbe2b75ed31cc6943b81218ea0f8a13686;p=pandora-kernel.git 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 Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed