summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorEliad Peller2012-03-14 15:15:02 +0100
committerJohn W. Linville2012-03-15 18:40:34 +0100
commitada577c12f7cd8851c999a9f19f62df06df7c39a (patch)
treedb55e957f411c7e95d054b53e23ab561f9ad8f84 /net/mac80211/mlme.c
parentmac80211: Don't sample max throughput rate in minstrel_ht (diff)
downloadkernel-qcow2-linux-ada577c12f7cd8851c999a9f19f62df06df7c39a.tar.gz
kernel-qcow2-linux-ada577c12f7cd8851c999a9f19f62df06df7c39a.tar.xz
kernel-qcow2-linux-ada577c12f7cd8851c999a9f19f62df06df7c39a.zip
mac80211: add NULL terminator to debugfs_netdev write buf
Some debugfs write functions call kstrto* functions, which assume the string is null-terminated. Make it valid by changing ieee80211_if_write() to use static buffer instead of allocating one, and set the last char to NULL. (The write functions try to parse some integer/mac address, so 64 bytes buffer should be enough) Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions