brcm80211: fmac: add function to free the glom skb queue
authorArend van Spriel <arend@broadcom.com>
Thu, 10 Nov 2011 19:30:31 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:28:44 +0000 (14:28 -0500)
commit046808daf9f6b8c5275861330d4f8c2e6cfe3c31
tree08e7c7f80cbd0f4070d719d663905bf9ffdcc0ac
parent53ee4bc46784ad53d0a9be52e8d687dd4e89a055
brcm80211: fmac: add function to free the glom skb queue

In several places in dhd_sdio.c a skb packet queue was being emptied
and the packets freed. This warrants to have a function in place to
do this.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c