commit | 81255d867c7fa3e3e5c3b0000a7938466c492265 | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Fri May 04 06:16:42 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 06 18:58:40 2018 -0700 |
tree | eaca5816958abc5d5d5a15be90bb6158d65a8231 | |
parent | 7f3c8bb5bcf3a133d1eeb171cf90888bc5253a69 [diff] |
staging: ks7010: refactor ks_wlan_set_phy_type function Handle invalid values first and assign good ones at the end if it is the case. This makes code simplier. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>