]> git.ipfire.org Git - thirdparty/hostap.git/commit
Initialize the variables before using it in channel update
authorBaligh Gasmi <gasmibal@gmail.com>
Fri, 12 Jan 2024 09:46:41 +0000 (10:46 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 14 Jan 2024 19:13:24 +0000 (21:13 +0200)
commitacea0654f0141c8da031d1eb2142454c5e33eeb7
tree312533085a7b174df95b4dabc725aa20c1be488a
parent97403b7fef8f6eef9e292b81345f3f2f755b9690
Initialize the variables before using it in channel update

seg0 and seg1 variables can have any initial value, but they may cause
the BSS to have a wrong configuration later on in cases where the
separate center frequencies are not set.

Signed-off-by: Baligh Gasmi <gasmibal@gmail.com>
src/ap/hostapd.c