diff options
author | Franky Lin <frankyl@broadcom.com> | 2011-12-16 21:37:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-19 14:40:47 -0500 |
commit | b9692d17e842fadb8c18faf24f550db80886763e (patch) | |
tree | 93df2a186ede1219b06887d55ad9862c39e29dd1 /drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | |
parent | 99a0b8ff9105d9b78e7e4e6aaa077264707e4e1c (diff) |
brcm80211: fmac: abstract bus_txdata interface function pointer
Abstract bus layer brcmf_bus_txdata function pointer for common
layer. This patch is part of the fullmac bus interface refactoring.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c index 62b457545ac6..72bee2c04957 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | |||
@@ -291,7 +291,7 @@ int brcmf_sendpkt(struct brcmf_pub *drvr, int ifidx, struct sk_buff *pktbuf) | |||
291 | brcmf_proto_hdrpush(drvr, ifidx, pktbuf); | 291 | brcmf_proto_hdrpush(drvr, ifidx, pktbuf); |
292 | 292 | ||
293 | /* Use bus module to send data frame */ | 293 | /* Use bus module to send data frame */ |
294 | return brcmf_sdbrcm_bus_txdata(drvr->dev, pktbuf); | 294 | return drvr->bus_if->brcmf_bus_txdata(drvr->dev, pktbuf); |
295 | } | 295 | } |
296 | 296 | ||
297 | static int brcmf_netdev_start_xmit(struct sk_buff *skb, struct net_device *ndev) | 297 | static int brcmf_netdev_start_xmit(struct sk_buff *skb, struct net_device *ndev) |