Skip to contentSkip to conversation

ath10k: Remove unnecessary amsdu/ampdu assignment in debugfs

PATCH Applied Mohammed Shafi Shajakhan 2 participants 2 messages Nov 30, 2015 – Dec 8, 2015 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: Remove unnecessary amsdu/ampdu assignment in debugfs

From: Mohammed Shafi Shajakhan <[email protected]>

The default values of max_num_amsdu / max_num_amdpu is assigned a default value as part of 'ath10k_core_init_firmware_features'

---
 drivers/net/wireless/ath/ath10k/debug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/debug.c +1 -1
index b502b7f..f635972f 100644
@@ -1114,7 +1114,7 @@ static ssize_t ath10k_read_htt_max_amsdu_ampdu(struct file *file,
 {
 	struct ath10k *ar = file->private_data;
 	char buf[64];
-	u8 amsdu = 3, ampdu = 64;
+	u8 amsdu, ampdu;
 	unsigned int len;
 
 	mutex_lock(&ar->conf_mutex);
Signature · 1 line
1.7.9.5