staging: wilc1000: refactor code to remove 'mac_status' from 'wilc_mac_cfg' struct
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:31 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:57 +0000 (20:53 +0200)
commitde11f709dfaf267658c3478361b2a2822b5263c5
treea98bd90feac1c0cae09be65ed54e0899ec8c855b
parent540aa64d4ee519a94709f46874be617d73839398
staging: wilc1000: refactor code to remove 'mac_status' from 'wilc_mac_cfg' struct

Refactor the code by removing use of 'mac_status' from 'wilc_mac_cfg'
and only have the string type configuration values in 'wilc_mac_cfg'
struct. Now fetch the value 'WID_STATUS' configuration from 'g_cfg_byte'
array.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h
drivers/staging/wilc1000/wilc_wlan_cfg.c