staging: wilc1000: free allocated memory after processing wilc_send_config_pkt()
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 26 Mar 2018 11:45:59 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 11:38:47 +0000 (13:38 +0200)
commit8d5b5e6a26d187221c541a8fb0c59ab8ad536888
tree70facced77ee851f50750ba25fd6fb37d2db7529
parentc26bdea4e709f8918c239f16235b4b7208fbc1cb
staging: wilc1000: free allocated memory after processing wilc_send_config_pkt()

Free allocated memory after completing wilc_send_config_pkt() function.
Remove unncessary use of 'stamac' pointer in handle_get_inactive_time().

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c