diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2010-02-19 01:03:04 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-19 15:52:49 -0500 |
commit | d2dfe6df755abb365aa3e2e67d88bda3cce5fd12 (patch) | |
tree | 5b24bd9cffb0ddfdd54554f2b5bace16c346ef99 /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | 4a6547c748229ba0425713b4adeb0f2d4000da9e (diff) |
iwlwifi: enable serialization of synchronous commands
Until now it was only possible to have one synchronous command running at
any time. If a synchronous command is in progress when a second request
arrives then the second command will fail. Create a new mutex specific for
this purpose to only allow one synchronous command at a time, but enable
other commands to wait instead of fail if a synchronous command is in
progress.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 530fae8cf16d..6347d4b5c22f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -603,7 +603,7 @@ void iwlcore_free_geos(struct iwl_priv *priv); | |||
603 | /*************** DRIVER STATUS FUNCTIONS *****/ | 603 | /*************** DRIVER STATUS FUNCTIONS *****/ |
604 | 604 | ||
605 | #define STATUS_HCMD_ACTIVE 0 /* host command in progress */ | 605 | #define STATUS_HCMD_ACTIVE 0 /* host command in progress */ |
606 | #define STATUS_HCMD_SYNC_ACTIVE 1 /* sync host command in progress */ | 606 | /* 1 is unused (used to be STATUS_HCMD_SYNC_ACTIVE) */ |
607 | #define STATUS_INT_ENABLED 2 | 607 | #define STATUS_INT_ENABLED 2 |
608 | #define STATUS_RF_KILL_HW 3 | 608 | #define STATUS_RF_KILL_HW 3 |
609 | #define STATUS_CT_KILL 4 | 609 | #define STATUS_CT_KILL 4 |