hostapd: use proper helper functions for setting seg0/seg1 idx and chwidth
authorFelix Fietkau <nbd@nbd.name>
Fri, 1 Sep 2023 18:39:15 +0000 (20:39 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 2 Sep 2023 17:39:24 +0000 (19:39 +0200)
commitb460ec66ed04bfac85cf25200d15b4d39e8afcf1
tree277ea763f4b20876ad26f135fdd8e531177d90bf
parent02214ab8dce59ee6b599f8dfdacb0297dc5dcc24
hostapd: use proper helper functions for setting seg0/seg1 idx and chwidth

Simplifies code and removes #ifdef statements

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ucode.c