]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Set operating class along with operating channel width
authorSunil <sunilravi@google.com>
Tue, 19 Jul 2022 00:04:20 +0000 (00:04 +0000)
committerJouni Malinen <j@w1.fi>
Thu, 22 Sep 2022 21:04:30 +0000 (00:04 +0300)
commit768537921e82423fe3440fa105bd4697e7b5c88d
tree65708044b6a0dca916d0879286c546f185489279
parentee7eec5185a074b27e1c080cd643dd9bd7697ab6
P2P: Set operating class along with operating channel width

While setting up the P2P GO interface, wpa_supplicant sets the operating
channel width to CHANWIDTH_USE_HT in cases where it fails to set 80 MHz
bandwidth. In the same flow, update the operating class, too, according
to the channel width. This is to avoid setting up the operational
channel width back to 80 MHz from hostapd interface setup.

Signed-off-by: Sunil <sunilravi@google.com>
wpa_supplicant/ap.c