ath10k: increase buffer len to print all wmi services
authorTamizh chelvam <c_traja@qti.qualcomm.com>
Mon, 3 Jul 2017 05:32:36 +0000 (11:02 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 6 Jul 2017 12:18:44 +0000 (15:18 +0300)
All wmi_services are not printing when we give below command.

cat /sys/kernel/debug/ieee80211/phyX/ath10k/wmi_services

This patch increases the buffer_len to 8192 to print all the wmi_services.

Signed-off-by: Tamizh chelvam <c_traja@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c

index 389fcb7..56404fe 100644 (file)
@@ -237,7 +237,7 @@ static ssize_t ath10k_read_wmi_services(struct file *file,
 {
        struct ath10k *ar = file->private_data;
        char *buf;
-       size_t len = 0, buf_len = 4096;
+       size_t len = 0, buf_len = 8192;
        const char *name;
        ssize_t ret_cnt;
        bool enabled;