Bartosz Markowski <[email protected]> writes:

> From: Michal Kazior <[email protected]>
>
> New firmware revisions support beacon and probe
> response templates instead. This means SWBA events
> are no longer delivered for these firmware
> revisions.
>
> Signed-off-by: Michal Kazior <[email protected]>

[...]

> +     ret = ath10k_mac_setup_bcn_p2p_ie(arvif, bcn);
> +     if (ret) {
> +             ath10k_warn(ar, "failed to setup p2p go bcn ie: %d\n", ret);
> +             kfree_skb(bcn);
> +             return ret;
> +     }
> +
> +     ath10k_mac_remove_vendor_ie(bcn, WLAN_OUI_WFA, WLAN_OUI_TYPE_WFA_P2P,
> +                                 offsetof(struct ieee80211_mgmt,
> +                                          u.beacon.variable));

A comment would be nice why you are removing the P2P IE. I guess because
there's a different command to set that IE?
 
-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to