diff options
author | Franky Lin <frankyl@broadcom.com> | 2011-12-16 21:37:04 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-19 14:40:45 -0500 |
commit | 3fb1d8d2dad35f5094350c175b778b78df894284 (patch) | |
tree | 65fe010fac16fd127b81b64b1d0b0625710ed8ec /drivers/net/wireless/brcm80211/brcmfmac/dhd.h | |
parent | b01a6b3ca714e2bb86ee387aee487c7360363c93 (diff) |
brcm80211: fmac: move driver up status to struct brcmf_bus
Driver up/down status to network interface need to be shared by
common layer and bus layer. Move it to bus interface structure
brcmf_bus as part of the fullmac bus interface refactoring.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h index db30f023adc1..4dcb11dff87d 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h | |||
@@ -577,6 +577,7 @@ struct brcmf_bus { | |||
577 | void *drvr; /* pointer to driver pub structure brcmf_pub */ | 577 | void *drvr; /* pointer to driver pub structure brcmf_pub */ |
578 | enum brcmf_bus_state state; | 578 | enum brcmf_bus_state state; |
579 | uint maxctl; /* Max size rxctl request from proto to bus */ | 579 | uint maxctl; /* Max size rxctl request from proto to bus */ |
580 | bool drvr_up; /* Status flag of driver up/down */ | ||
580 | }; | 581 | }; |
581 | 582 | ||
582 | /* Forward decls for struct brcmf_pub (see below) */ | 583 | /* Forward decls for struct brcmf_pub (see below) */ |
@@ -594,7 +595,6 @@ struct brcmf_pub { | |||
594 | struct device *dev; /* fullmac dongle device pointer */ | 595 | struct device *dev; /* fullmac dongle device pointer */ |
595 | 596 | ||
596 | /* Internal brcmf items */ | 597 | /* Internal brcmf items */ |
597 | bool up; /* Driver up/down (to OS) */ | ||
598 | bool txoff; /* Transmit flow-controlled */ | 598 | bool txoff; /* Transmit flow-controlled */ |
599 | uint hdrlen; /* Total BRCMF header length (proto + bus) */ | 599 | uint hdrlen; /* Total BRCMF header length (proto + bus) */ |
600 | uint rxsz; /* Rx buffer size bus module should use */ | 600 | uint rxsz; /* Rx buffer size bus module should use */ |