diff options
author | Arend van Spriel <arend@broadcom.com> | 2012-10-22 13:36:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-29 15:28:23 -0400 |
commit | 1ed9baf0f12168c8ba2410fd9ccd578f7867c564 (patch) | |
tree | b40cc04031ac437fe4dfdbf9ab7f1cb96cb6d481 /drivers/net/wireless/brcm80211/brcmfmac/dhd.h | |
parent | 1d4fd8d78f465cebe2502671588f75ba2f758cfa (diff) |
brcmfmac: rework driver initialization in brcmf_bus_start()
In brcmf_bus_start() a number of settings are sent to the device. For
this functions are used that bypass the common firmware interface.
By reordering the code in brcmf_bus_start() this bypass can be removed.
Signed-off-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.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h index d848bb934b7d..51d775412907 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h | |||
@@ -735,6 +735,9 @@ extern int brcmf_c_host_event(struct brcmf_pub *drvr, int *idx, | |||
735 | void *pktdata, struct brcmf_event_msg *, | 735 | void *pktdata, struct brcmf_event_msg *, |
736 | void **data_ptr); | 736 | void **data_ptr); |
737 | 737 | ||
738 | extern int brcmf_net_attach(struct brcmf_if *ifp); | ||
739 | extern struct brcmf_if *brcmf_add_if(struct device *dev, int ifidx, s32 bssidx, | ||
740 | char *name, u8 *mac_addr); | ||
738 | extern void brcmf_del_if(struct brcmf_pub *drvr, int ifidx); | 741 | extern void brcmf_del_if(struct brcmf_pub *drvr, int ifidx); |
739 | 742 | ||
740 | extern void brcmf_c_pktfilter_offload_set(struct brcmf_pub *drvr, char *arg); | 743 | extern void brcmf_c_pktfilter_offload_set(struct brcmf_pub *drvr, char *arg); |