forked from Minki/linux
3a146b7e30
s3fwrn5_nci_send() will call s3fwrn5_i2c_write() or s3fwrn82_uart_write(),
and free the skb if write() failed. However, even if the write() run
succeeds, the skb will not be freed in write(). As the result, the skb
will memleak. s3fwrn5_nci_send() should also free the skb when write()
succeeds.
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
firmware.c | ||
firmware.h | ||
i2c.c | ||
Kconfig | ||
Makefile | ||
nci.c | ||
nci.h | ||
phy_common.c | ||
phy_common.h | ||
s3fwrn5.h | ||
uart.c |