hostapd: do not trim trailing whitespace, except for newline
authorFelix Fietkau <nbd@nbd.name>
Mon, 30 Oct 2023 17:32:24 +0000 (18:32 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 31 Oct 2023 12:30:11 +0000 (13:30 +0100)
commiteaf44c56968495ea4e500ebaa11ab1932d550bcd
tree56d0687428872798933b00f3049e5ac87ff015a0
parent220ab83cd119463a288b2c234484e4a79ae4e305
hostapd: do not trim trailing whitespace, except for newline

Fixes adding SSID or key with trailing whitespace

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit a2d8226c4f45555f49542d6f047b70d44f23f7ec)
package/network/services/hostapd/files/hostapd.uc