Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions drivers/net/wireless/ath/ath12k/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -4501,8 +4501,10 @@ static int ath12k_mac_station_add(struct ath12k *ar,

ath12k_dbg(ab, ATH12K_DBG_MAC, "Added peer: %pM for VDEV: %d\n",
sta->addr, arvif->vdev_id);

if (ieee80211_vif_is_mesh(vif)) {
/* ------------------------------
FORCE WDS / 4-ADDRESS MODE
------------------------------ */
//if (ieee80211_vif_is_mesh(vif)) {
ret = ath12k_wmi_set_peer_param(ar, sta->addr,
arvif->vdev_id,
WMI_PEER_USE_4ADDR, 1);
Expand All @@ -4511,7 +4513,7 @@ static int ath12k_mac_station_add(struct ath12k *ar,
sta->addr, ret);
goto free_peer;
}
}
//}

ret = ath12k_dp_peer_setup(ar, arvif->vdev_id, sta->addr);
if (ret) {
Expand Down