]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: warn about nested SYNC commands
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 9 Jun 2011 12:48:36 +0000 (05:48 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 18 Jun 2011 15:19:07 +0000 (08:19 -0700)
commit4fc4a6a38503c5b3f31c34816167087ddf1ead02
treec2fc0a1352e04f27b6717901254e1dfd0f68ee87
parent49b958e9bc515274e9f0951d2faafea868cc33ee
iwlagn: warn about nested SYNC commands

Since there is no protection around SYNC host command mechanism, at least WARN
when collision happens between two SYNC host comamnds. I am not sure there is a
real  issue (beyond the HCMD_ACTIVE flag maintenance) with having two SYNC host
commands at the same time, but at least now, we will know about it.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-hcmd.c