summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2015-11-30 17:59:39 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2015-12-08 15:50:09 +0100
commit81ec3c09ab1bb24e5edf2bd08707982a4e7fb8bd (patch)
treebec5273c9833d0679dd7948010c2e5d97d940078
parentMerge tag 'iwlwifi-next-for-kalle-2015-12-01' of https://git.kernel.org/pub/s... (diff)
downloadlinux-81ec3c09ab1bb24e5edf2bd08707982a4e7fb8bd.tar.xz
linux-81ec3c09ab1bb24e5edf2bd08707982a4e7fb8bd.zip
ath10k: remove unnecessary amsdu/ampdu assignment in debugfs
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 <mohammed@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath10k/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index 39fe4f3350aa..2bdf5408b0d9 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -1139,7 +1139,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);