|
@@ -333,8 +333,8 @@ ieee80211_tdls_chandef_vht_upgrade(struct ieee80211_sub_if_data *sdata,
|
|
|
|
|
|
/* proceed to downgrade the chandef until usable or the same */
|
|
|
while (uc.width > max_width &&
|
|
|
- !cfg80211_reg_can_beacon(sdata->local->hw.wiphy,
|
|
|
- &uc, sdata->wdev.iftype))
|
|
|
+ !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc,
|
|
|
+ sdata->wdev.iftype))
|
|
|
ieee80211_chandef_downgrade(&uc);
|
|
|
|
|
|
if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) {
|