Skip to contentSkip to conversation

ath10k: minor fixes

PATCH New Michal Kazior 2 participants 4 messages May 10, 2013 – May 14, 2013 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

cover ath10k: minor fixes

Michal Kazior (2):
ath10k: fix typo in macro name
ath10k: use msecs_to_jiffies()

 drivers/net/wireless/ath/ath10k/mac.c |    2 +-
 drivers/net/wireless/ath/ath10k/wmi.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 ath10k: fix typo in macro name

---
 drivers/net/wireless/ath/ath10k/wmi.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/wmi.h +1 -1
index 2ad0431..ecd6487 100644
@@ -570,7 +570,7 @@ enum wmi_channel_change_cause {
 #define WMI_VHT_CAP_RX_STBC_MASK                 0x00000300
 #define WMI_VHT_CAP_RX_STBC_MASK_SHIFT           8
 #define WMI_VHT_CAP_MAX_AMPDU_LEN_EXP            0x03800000
-#define WMI_VHT_CAP_MAX_AMPDU_LEN_EXP_SHIT       23
+#define WMI_VHT_CAP_MAX_AMPDU_LEN_EXP_SHIFT      23
 #define WMI_VHT_CAP_RX_FIXED_ANT                 0x10000000
 #define WMI_VHT_CAP_TX_FIXED_ANT                 0x20000000
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/2 ath10k: use msecs_to_jiffies()

In reply to Michal Kazior
---
 drivers/net/wireless/ath/ath10k/mac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/mac.c +1 -1
index bf7954b..99cb5ad 100644
@@ -1516,7 +1516,7 @@ static int ath10k_start_scan(struct ath10k *ar,
 	 * false. Add a 200ms margin to account event/command
 	 * processing. */
 	mod_timer(&ar->scan.timeout, jiffies +
-		  ((arg->max_scan_time+200)*HZ)/1000);
+		  msecs_to_jiffies(arg->max_scan_time+200));
 	return 0;
 }
 
Signature · 1 line
1.7.9.5