[RESEND PATCH 39/47] staging: ks7010: refactor ks_wlan_set_mlme function

2018-05-03 Thread Sergio Paracuellos
This commit refactors ks_wlan_set_mlme function changing switch-case block for more simple if paths improving readability. Signed-off-by: Sergio Paracuellos --- drivers/staging/ks7010/ks_wlan_net.c | 23 ++- 1 file changed, 10 insertions(+), 13

[PATCH 39/47] staging: ks7010: refactor ks_wlan_set_mlme function

2018-04-30 Thread Sergio Paracuellos
This commit refactors ks_wlan_set_mlme function changing switch-case block for more simple if paths improving readability. Signed-off-by: Sergio Paracuellos --- drivers/staging/ks7010/ks_wlan_net.c | 23 ++- 1 file changed, 10 insertions(+), 13