iwlwifi: turn on a lockdep assertion
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 10 Jun 2012 11:25:22 +0000 (14:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jun 2012 07:01:07 +0000 (09:01 +0200)
commitf609607c009140491dd134f0165d9a8f9f726114
tree1e025564ebb259370fbb5fa38acd1aa7aae8d67f
parent12af0468734dcef5d123d774f98e284deedd361c
iwlwifi: turn on a lockdep assertion

CMD_SYNC is zero so the if (cmd->flags & CMD_SYNC) is never true and we
never check the assertion.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/lib.c