From: Michal Kazior Date: Wed, 16 Oct 2013 12:44:45 +0000 (+0300) Subject: ath10k: use workqueue to set WEP TX key X-Git-Tag: v3.13-rc1~105^2~55^2^2~53^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc4827b97b0a5fec66689c0e511a94e3dad490fc;p=pandora-kernel.git ath10k: use workqueue to set WEP TX key Recent WMI/HTC changes made it possible for WMI commands to sleep (if there's not enough HTC TX credits to submit a command). TX path is in an atomic context so calling WMI commands in it is wrong. This simply moves WEP key index update to a worker and fixes the 'scheduling while atomic' bug. This still leaves multiple WEP key handling laggy, i.e. some frames may be TXed with an old/different key (although recipient should still be able to RX them). kvalo: changed the title Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed