]> 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)
commit78d7952f74a797158f28f3b2645ebe58fc6439c4
treec2fc0a1352e04f27b6717901254e1dfd0f68ee87
parentbd2a7df5fd530fa9a7087089b4467a93351fafe9
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