brcmfmac: rework single packet transfers
authorArend van Spriel <arend@broadcom.com>
Tue, 15 Oct 2013 13:44:52 +0000 (15:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:06:57 +0000 (14:06 -0400)
commit4aef267e24b89baedfd3e01c38bafc47aa976946
treeb153a3103c476934edf58d5c0f190cc03a0f6368
parent0d7d98216d390ce8beb602b1a20464c8a5e6c2e0
brcmfmac: rework single packet transfers

The function brcmf_sdio_sglist_rw() does a different code path
when packet queue length is 1. Move this to a separate function
reducing overhead in the calling context.

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/bcmsdh.c