iwlwifi: enable serialization of synchronous commands
[safe/jmp/linux-2.6] / drivers / net / wireless / iwlwifi / iwl-dev.h
index f81317d..021c686 100644 (file)
@@ -1111,6 +1111,7 @@ struct iwl_priv {
        spinlock_t hcmd_lock;   /* protect hcmd */
        spinlock_t reg_lock;    /* protect hw register access */
        struct mutex mutex;
+       struct mutex sync_cmd_mutex; /* enable serialization of sync commands */
 
        /* basic pci-network driver stuff */
        struct pci_dev *pci_dev;