wimax: i2400: fix memory leak
authorNavid Emamdoost <navid.emamdoost@gmail.com>
Tue, 10 Sep 2019 23:01:40 +0000 (18:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:19:34 +0000 (08:19 +0100)
commit49fcab52e6417db027aad6310dd851a2f5ef3f30
tree70f755b5c8ddb91c939f8cb384c6a9689b6a1cf6
parent6ba34f5de2a45050729836e3d48ed10ee53d0276
wimax: i2400: fix memory leak

commit 2507e6ab7a9a440773be476141a255934468c5ef upstream.

In i2400m_op_rfkill_sw_toggle cmd buffer should be released along with
skb response.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wimax/i2400m/op-rfkill.c