mac80211: add option to generate CCMP IVs only for mgmt frames
[linux-2.6-block.git] / net / mac80211 / debugfs_sta.c
index 80194b557a0cff8f3d2aba52f06cfc348212abf8..2ecb4deddb5df0ca74eb9630de15bbc9c789f274 100644 (file)
@@ -195,7 +195,7 @@ static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf,
                                    size_t count, loff_t *ppos)
 {
-       char _buf[12], *buf = _buf;
+       char _buf[12] = {}, *buf = _buf;
        struct sta_info *sta = file->private_data;
        bool start, tx;
        unsigned long tid;