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 3b1069290fa9a9cf646a2f04325d6c1862b70a7a..a9f0415916c77978d170481e92fc6cf0900c7db8 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)