brcm80211: util: move brcmu_pkttotlen() function to brcmfmac
authorArend van Spriel <arend@broadcom.com>
Thu, 10 Nov 2011 19:30:29 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:28:42 +0000 (14:28 -0500)
commit9a95e60e0610bb8ec39c74d2c8546514a76428df
tree73bdc0f2aa241c46d1d2891712cea0d0490b5a9b
parent02a588a2e3b9e0156f306a542bb6cd29ba42e1b9
brcm80211: util: move brcmu_pkttotlen() function to brcmfmac

The functions brcmu_pkttotlen() is only used in brcmfmac driver
so it has been moved there. It also does not use the sk_buff
next pointer anymore but walks a skb queue to determine the total
length.

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
drivers/net/wireless/brcm80211/brcmutil/utils.c
drivers/net/wireless/brcm80211/include/brcmu_utils.h