diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-01-06 18:12:35 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 21:59:55 +0100 |
commit | e9aeabaeb9a0bece50100dc74bbd720a68cb8f5c (patch) | |
tree | 4e3a5ba61805a5169ecede23af67240a6121c4f3 /lib/crc7.c | |
parent | mac80211: clean up channel type config (diff) | |
download | linux-e9aeabaeb9a0bece50100dc74bbd720a68cb8f5c.tar.xz linux-e9aeabaeb9a0bece50100dc74bbd720a68cb8f5c.zip |
mac80211: validate SIOCSIWPOWER arguments better
Don't accept any arguments we don't handle, and return error codes
instead of using an uninitialised stack value.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions