OSDN Git Service

staging: wilc1000: validate cfg parameters before scheduling the work
authorAdham Abozaeid <adham.abozaeid@microchip.com>
Fri, 9 Nov 2018 18:20:15 +0000 (18:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Nov 2018 19:38:54 +0000 (11:38 -0800)
commit6eb7207384d1a58e38ca2a0a4b874a37cc294b71
tree6f85a489e49d57e10c447a5f2daf355ab45bb59b
parent056ef758609ffbf3f2aa5e7dd117663b32f3c91b
staging: wilc1000: validate cfg parameters before scheduling the work

Validate cfg parameters after being called by cfg80211 in set_wiphy_params
before scheduling the work executed in handle_cfg_param

Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c