Eliad Peller ada577c12f 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>
2012-03-15 13:40:34 -04:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-12-19 14:31:37 -05:00
2012-02-06 14:55:51 -05:00
2012-03-12 14:19:38 -04:00
2009-07-10 15:01:49 -04:00
2011-11-28 14:44:09 -05:00
2012-02-27 14:06:42 -05:00
2012-02-06 14:50:37 -05:00
2012-01-04 14:31:47 -05:00
2011-03-31 11:26:23 -03:00
2012-03-07 13:51:37 -05:00
2012-03-07 13:51:37 -05:00
2012-03-13 14:54:16 -04:00
2012-02-06 14:50:37 -05:00