From: Johannes Berg Date: Mon, 27 Jun 2011 13:06:42 +0000 (-0700) Subject: iwlagn: verify mutex held for sync commands X-Git-Tag: v3.1-rc1~316^2~189^2^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98a648e10a3c4eb30f8043281345506e17ace007;p=pandora-kernel.git iwlagn: verify mutex held for sync commands Emmanuel noticed that there's no explicit checking that prevents the driver from attempting to issue multiple synchronous commands at the same time and wrote a patch to check. However, his patch warns only if a collision actually happened, an unlikely thing since the driver mutex should be held for synchronous command submissions. So instead of checking that a collision happened add a check that the mutex is held which ensures that collisions can't happen. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed