From: Johannes Berg Date: Tue, 6 Mar 2012 21:30:41 +0000 (-0800) Subject: iwlwifi: move lockdep assertion into DVM X-Git-Tag: v3.4-rc1~177^2~108^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cc39c94c15ba1d5f6f71ab73f3369f9c17856ad;p=pandora-kernel.git iwlwifi: move lockdep assertion into DVM The fact that the mutex must be held is an implementation detail of DVM, but something has to ensure that no two synchronous cmds are submitted concurrently. Move the lockdep assertion into the DVM-specific code, but also make the transport abort if there are two concurrently commands. The assertion is much more useful though as the transport check can only catch it when it actually happens, while the assertion makes sure it can't possibly happen. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed