]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: fix spelling and value in LED registers.
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Thu, 27 Dec 2012 22:10:36 +0000 (00:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 14:33:29 +0000 (15:33 +0100)
Fix typo in the macro name and the wrong value.

Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/led.c
drivers/net/wireless/iwlwifi/iwl-csr.h

index bf479f709091d6954e779c079c379e48a578c2f5..844a17f99a186c6ed20e0c71d94465839cddd914 100644 (file)
@@ -69,7 +69,7 @@ static const struct ieee80211_tpt_blink iwl_blink[] = {
 /* Set led register off */
 void iwlagn_led_enable(struct iwl_priv *priv)
 {
-       iwl_write32(priv->trans, CSR_LED_REG, CSR_LED_REG_TRUN_ON);
+       iwl_write32(priv->trans, CSR_LED_REG, CSR_LED_REG_TURN_ON);
 }
 
 /*
index 34a5287dfc2f6d1c366e6555a14ee284dad8bd5e..b419a1efac0ab1e2505e46d48be032932a857d5d 100644 (file)
 
 /* LED */
 #define CSR_LED_BSM_CTRL_MSK (0xFFFFFFDF)
-#define CSR_LED_REG_TRUN_ON (0x78)
-#define CSR_LED_REG_TRUN_OFF (0x38)
+#define CSR_LED_REG_TURN_ON (0x60)
+#define CSR_LED_REG_TURN_OFF (0x20)
 
 /* ANA_PLL */
 #define CSR50_ANA_PLL_CFG_VAL        (0x00880300)