brcmfmac: Move common BCDC code in single function.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 12 Dec 2013 10:59:00 +0000 (11:59 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:22:50 +0000 (15:22 -0500)
commit8141083c48192b63a39b77adffd9a8e0dcfab034
treef84f4ab6c319b71b2d0c3b5ddd574de18135ab61
parenta7cdd821e37fa5809ce1fb3793ab0e0e7e6e9d75
brcmfmac: Move common BCDC code in single function.

The BCDC functions query_dcmd and set_dcmd both create a msgbuf to
be sent to dongle this code is very similar and for optimisation
best put in a function.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@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/bcdc.c