ath6kl: Avoid taking struct as argument in ath6kl_wmi_set_ip_cmd
[deliverable/linux.git] / drivers / net / wireless / ath / ath6kl / debug.c
index 9eff0d010bb161812f70712bd51e9c7700acc2f9..eb808b46f94cec1010a16e0733f9dacbf5ee4147 100644 (file)
@@ -1551,10 +1551,10 @@ static ssize_t ath6kl_listen_int_read(struct file *file,
                                                size_t count, loff_t *ppos)
 {
        struct ath6kl *ar = file->private_data;
-       char buf[16];
+       char buf[32];
        int len;
 
-       len = snprintf(buf, sizeof(buf), "%u %u\n", ar->listen_intvl_t,
+       len = scnprintf(buf, sizeof(buf), "%u %u\n", ar->listen_intvl_t,
                                        ar->listen_intvl_b);
 
        return simple_read_from_buffer(user_buf, count, ppos, buf, len);
This page took 0.026226 seconds and 5 git commands to generate.