linux/drivers/staging/ks7010
Sergio Paracuellos 1e4c7fb3a5 staging: ks7010: refactor ks_wlan_set_mode function
Most cases which are being handled in the switch-case of
ks_wlan_set_mode function are just returning EINVAL. Avoid
the use of switch-case stament and just use a simple if
to handle those. This decrease LOC as well as improves
readability.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-25 15:50:18 +02:00
..
eap_packet.h staging: ks7010: remove not used enum in eap_packet header file 2018-04-23 14:32:04 +02:00
Kconfig staging: ks7010: remove custom firmware loader 2016-06-07 22:42:53 -07:00
ks7010_sdio.c staging: ks7010: assign dev_alloc_name() result to variable before check it 2018-04-25 15:47:23 +02:00
ks7010_sdio.h staging: ks7010: move sdio specific register definitions into source file 2018-04-25 15:47:22 +02:00
ks_hostif.c staging: ks7010: avoid use of brackets in single line if 2018-04-25 15:50:18 +02:00
ks_hostif.h staging: ks7010: rewrite hif_align_size inline function 2018-04-23 14:27:35 +02:00
ks_wlan_ioctl.h staging: ks7010: remove not used function signature ks_wlan_read_config_file 2018-03-22 18:20:54 +01:00
ks_wlan_net.c staging: ks7010: refactor ks_wlan_set_mode function 2018-04-25 15:50:18 +02:00
ks_wlan.h staging: ks7010: removes data_buff field of ks_wlan_private struct 2018-04-25 15:47:24 +02:00
Makefile staging: ks7010: replace KS_WLAN_DEBUG with DEBUG preprocessor directive 2018-03-22 18:20:54 +01:00
michael_mic.c staging: ks7010: avoid casts in michael_mic_function calls 2018-04-25 15:47:22 +02:00
michael_mic.h staging: ks7010: avoid casts in michael_mic_function calls 2018-04-25 15:47:22 +02:00
TODO staging: ks7010: add task to TODO file 2017-04-11 16:05:51 +02:00