radio: iris: Freeing memory after event handling
There was bug where we were not freeing the memory after event handling.
This patch adds the code to clear the skb memory.
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
diff --git a/drivers/media/radio/radio-iris.c b/drivers/media/radio/radio-iris.c
index 890d552..8dbdc01 100644
--- a/drivers/media/radio/radio-iris.c
+++ b/drivers/media/radio/radio-iris.c
@@ -525,7 +525,7 @@
__net_timestamp(skb);
radio_hci_event_packet(hdev, skb);
-
+ kfree_skb(skb);
return 0;
}
EXPORT_SYMBOL(radio_hci_recv_frame);