diff options
author | Franky Lin <frankyl@broadcom.com> | 2012-06-26 21:26:34 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-27 15:23:17 -0400 |
commit | 135e4c6184d29f0834078bf150009a77b9dae717 (patch) | |
tree | 8b73b841d5c00ae819acb83f9e3dc7d8d266461d /drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c | |
parent | d2bb2b9e9161d221badafae063d0c62b41bf3078 (diff) | |
download | blackbird-op-linux-135e4c6184d29f0834078bf150009a77b9dae717.tar.gz blackbird-op-linux-135e4c6184d29f0834078bf150009a77b9dae717.zip |
brcmfmac: add support for bus specific data command
brcmfmac need to support data command setting for dongle's bus
core. A list must be placed at brcmf_bus structure before calling
brcmf_bus_start in order to be sent by brcmf_c_preinit_dcmds.
Reviewed-by: Arend van Spriel <arend@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, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c index 01cf6c03390b..57bf1d7ee80f 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c @@ -1020,6 +1020,8 @@ int brcmf_attach(uint bus_hdrlen, struct device *dev) INIT_WORK(&drvr->setmacaddr_work, _brcmf_set_mac_address); INIT_WORK(&drvr->multicast_work, _brcmf_set_multicast_list); + INIT_LIST_HEAD(&drvr->bus_if->dcmd_list); + return ret; fail: |