]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: wilc1000: bug fix on memory free
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:50 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:21:09 +0000 (13:21 -0800)
commit608b0515b75292a3f890356f976849050c519d6a
tree09d95231fcbad4e01c1f469edfb7c67d5c8aeb6e
parent03efae328ddcda7826a3bedb2ac15eb9598eabb4
staging: wilc1000: bug fix on memory free

Set tx_buffer to NULL not to free again the memory that is already freed,
which could cause system crash when device is failed.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c