Skip to content
Commit e9aeabae authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Reviewed-by: default avatarKalle Valo <kalle.valo@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4797938c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment