From: Stanislaw Gruszka Date: Mon, 3 Feb 2014 10:45:51 +0000 (+0100) Subject: ath9k_htc: avoid scheduling while atomic on sta_rc_update X-Git-Tag: v3.14-rc3~36^2~27^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a243de48558397f438e299178cac29f6da8fc0ce;p=pandora-kernel.git ath9k_htc: avoid scheduling while atomic on sta_rc_update mac80211 ->sta_rc_update() callback must be atomic. Since we have to take mutex and do other operations that can sleep when sending fimrware commands to device, the only option to satisfy atomicity requirement of ->sta_rc_update(), that I can see, is introduce work_struct and defer uploading new rates to that work. Tested-by: Oleksij Rempel Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed