diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2023-01-20 13:41:37 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2024-02-26 13:35:42 +0900 |
commit | 64e41c96c4fc0a91f602bd77db0f22eefd9119e8 (patch) | |
tree | a60e8013cb35795704d276587513462177f722dc | |
parent | 212b15900a7ed5a61dffe23dc2b42d1a46603253 (diff) | |
download | linux-rpi-64e41c96c4fc0a91f602bd77db0f22eefd9119e8.tar.gz linux-rpi-64e41c96c4fc0a91f602bd77db0f22eefd9119e8.tar.bz2 linux-rpi-64e41c96c4fc0a91f602bd77db0f22eefd9119e8.zip |
Partially Revert "brcmfmac: p2p: Deal with set but unused variables"
This partially reverts commit 2de64ca7c9fadd32b261530592db4a6adbfcb53f.
The commit 61325dc073e2 ("Revert "brcmfmac: move configuration of
probe request IEs"") requires vif set with p2p interface, but commit
2de64ca7c9fa removes setting. Partially revert the commit to support
p2p usage with p2p interface.
Change-Id: Iaa3a6c57bb9e14c80ef9f4714eea0cfc447d6adc
Reported-by: Jiung Yu <jiung.yu@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c index 7376f9f37d07..99ee0e6b13c2 100644 --- 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; } |