brcmfmac: fix brcmf_sdio_txpkt_prep() for host without sg support
authorArend van Spriel <arend@broadcom.com>
Tue, 15 Oct 2013 13:44:56 +0000 (15:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:06:58 +0000 (14:06 -0400)
commita64304f0a2cae8ce9ff71baecbad821613229cfe
tree638b87a7e6d972aad17a0be99d686f4d11313dda
parentc8cce1f9a714b90ab454e3ac4a9968445e228b81
brcmfmac: fix brcmf_sdio_txpkt_prep() for host without sg support

When running on a host controller that does not support scatter-gather
transfers the function brcmf_sdio_txpkt_prep() should not add tail
padding buffers.

Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@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