commit | f357c9df544f3d5163a899b7511f5a0189004f17 | [log] [tgz] |
---|---|---|
author | JaeMan Park <jaeman@google.com> | Thu Jul 21 00:24:29 2022 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jul 21 00:24:29 2022 +0000 |
tree | 9ba86e9b75ada7e921e967d28938190afa9555f2 | |
parent | aa7ae2b0a3f564387d7a1a7debf7dbcbf8f8db4e [diff] | |
parent | 9de9732250570cf571f3f01804b94212a4b85671 [diff] |
Merge "Return detailed error code at wpas_p2p_mac_setup"
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 7de9249..0261362 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c
@@ -175,6 +175,10 @@ hostapd_set_oper_centr_freq_seg0_idx( conf, conf->channel + conf->secondary_channel * 2); hostapd_set_oper_chwidth(conf, CONF_OPER_CHWIDTH_USE_HT); + ieee80211_freq_to_channel_ext(ssid->frequency, 0, + conf->vht_oper_chwidth, + &conf->op_class, + &conf->channel); }