mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
staging: ks7010: refactor ks_wlan_set_scan_type function
This commit changes logic to handle invalid values first and just assign valid ones afterwards. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
25ee63eb2d
commit
7a2cc8db50
1 changed files with 3 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue