From: Arik Nemtsov Date: Thu, 21 Jun 2012 15:10:51 +0000 (+0300) Subject: wlcore: refactor threaded IRQ routine X-Git-Tag: v3.6-rc1~125^2~57^2~229^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b45b3cbd56162d9612dd76529d7ad9f6be9a56;p=pandora-kernel.git wlcore: refactor threaded IRQ routine Separate the threaded IRQ handling routine into two functions. The outer function takes the mutex and calls recovery on errors. It also performs a Tx-path optimization to avoid redundant works. The inner function is simplified - all calls to recovery are removed and it assumes the lock is taken. The locked variant will be reused elsewhere. Signed-off-by: Arik Nemtsov Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed