projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brcmfmac: SDIO: avoid using bus state for private states.
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wireless
/
brcm80211
/
brcmfmac
/
fwil.c
diff --git
a/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
b/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
index 03f2c406a17bb034f9e7078f8c5c65344f316a9b..dcfa0bb149ce8eb778c68f7071f1b45c11899be2 100644
(file)
--- a/
drivers/net/wireless/brcm80211/brcmfmac/fwil.c
+++ b/
drivers/net/wireless/brcm80211/brcmfmac/fwil.c
@@
-109,7
+109,7
@@
brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set)
struct brcmf_pub *drvr = ifp->drvr;
s32 err;
- if (drvr->bus_if->state != BRCMF_BUS_
DATA
) {
+ if (drvr->bus_if->state != BRCMF_BUS_
UP
) {
brcmf_err("bus is down. we have nothing to do.\n");
return -EIO;
}