wireless: fix handling config reload with reconf=1
authorFelix Fietkau <nbd@nbd.name>
Wed, 28 Jun 2023 12:35:46 +0000 (14:35 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 28 Jun 2023 12:35:57 +0000 (14:35 +0200)
commit255b4d5c472ee3e04ed5fc8ded2a15b3737821ba
tree0873f9d9e4693270347e71ba04ecfbc8a985e04b
parent4bea6d21a9ab2acbcf1d2d34a1266e36ae9a8d39
wireless: fix handling config reload with reconf=1

If reload triggers while the wdev is up, and reconf is set to 1, run the
setup handler immediately, otherwise the change will not be applied.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
wireless.c