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: NJohannes Berg <johannes@sipsolutions.net> Reviewed-by: NKalle Valo <kalle.valo@nokia.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
Showing
想要评论请 注册 或 登录