iwlwifi: update mask value for SCD queue config
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 28 May 2012 13:55:34 +0000 (16:55 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:21:21 +0000 (13:21 +0200)
Although we don't use bit 24, this bit is valid, but bit 23
is not. Update the mask accordingly.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-prph.h

index 3b10692..a9f0415 100644 (file)
 #define SCD_QUEUE_STTS_REG_POS_ACTIVE  (3)
 #define SCD_QUEUE_STTS_REG_POS_WSL     (4)
 #define SCD_QUEUE_STTS_REG_POS_SCD_ACT_EN (19)
-#define SCD_QUEUE_STTS_REG_MSK         (0x00FF0000)
+#define SCD_QUEUE_STTS_REG_MSK         (0x017F0000)
 
 #define SCD_QUEUE_CTX_REG1_CREDIT_POS          (8)
 #define SCD_QUEUE_CTX_REG1_CREDIT_MSK          (0x00FFFF00)