From: Michal Kazior Date: Wed, 16 Oct 2013 12:44:46 +0000 (+0300) Subject: ath10k: fix scheduling while atomic config bug X-Git-Tag: v3.13-rc1~105^2~55^2^2~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad088bfa1e3d05670734839e1a22a69ce4b193fb;p=pandora-kernel.git ath10k: fix scheduling while atomic config bug Recent HTC/WMI changes introduced the bug. ath10k was using _atomic iteration function with sleepable functions. mac80211 provides another iteration function but it cannot be safely called in hw_config() callback due to local->iflist_mtx being possibly acquired already. The patch uses internal vif list for iteration purposes and removes/refactors no longer necessary _iter functions. Reported-By: Kalle Valo Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed