Subject: [PATCH] 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'

Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
---
drivers/net/wireless/ath/ath10k/debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index b502b7f..f635972f 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -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);
--
1.7.9.5



2015-12-08 14:54:16

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] ath10k: Remove unnecessary amsdu/ampdu assignment in debugfs

Mohammed Shafi Shajakhan <[email protected]> writes:

> 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'
>
> Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>

Applied, thanks.

--
Kalle Valo