projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Partially Revert "brcmfmac: p2p: Deal with set but unused variables"
[platform/kernel/linux-rpi.git]
/
drivers
/
net
/
wireless
/
broadcom
/
brcm80211
/
brcmfmac
/
p2p.c
diff --git
a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
index
9ec232e
..
d3e7e20
100644
(file)
--- a/
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
+++ b/
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
@@
-912,6
+912,8
@@
int brcmf_p2p_scan_prep(struct wiphy *wiphy,
if (err)
return err;
+ vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif;
+
/* override .run_escan() callback. */
cfg->escan_info.run = brcmf_p2p_run_escan;
}