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)
commit4b55b07fc9e5eccfd204cad75509bf062d3c22a3
treec2fc0a1352e04f27b6717901254e1dfd0f68ee87
parent807caf261c5196b566964ccb9e12d3e25eee9c4a
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