Skip to content

Commit

Permalink
brcmfmac: streamline SDIO read frame routine
Browse files Browse the repository at this point in the history
SDIO read non-glomming frame routine handles first frame and
follow up frame read separately. But they share a lot of common
code. This patch abstracts a brcmf_sdio_hdparser function and
optimize the code flow for better readability and future
optimization.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Franky Lin authored and John W. Linville committed Sep 24, 2012
1 parent 803599d commit 4754fce
Showing 1 changed file with 233 additions and 388 deletions.
Loading

0 comments on commit 4754fce

Please sign in to comment.