|
@@ -1266,7 +1266,7 @@ static void
|
|
|
brcmf_p2p_stop_wait_next_action_frame(struct brcmf_cfg80211_info *cfg)
|
|
|
{
|
|
|
struct brcmf_p2p_info *p2p = &cfg->p2p;
|
|
|
- struct brcmf_if *ifp = cfg->escan_info.ifp;
|
|
|
+ struct brcmf_if *ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp;
|
|
|
|
|
|
if (test_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status) &&
|
|
|
(test_bit(BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, &p2p->status) ||
|