netifd: fix disabling radio via config if reconf is being used
authorPrasun Maiti <prasunmaiti87@gmail.com>
Thu, 17 Aug 2023 12:17:18 +0000 (17:47 +0530)
committerFelix Fietkau <nbd@nbd.name>
Thu, 17 Aug 2023 15:09:19 +0000 (17:09 +0200)
commit4711f74479e213ef86f8792b408b117d40148eb2
tree822245eec144aa0ad10edd98c5909bf8719ad61a
parent0ff22a6a68ce942d4c9e7d58355d128dd3793b06
netifd: fix disabling radio via config if reconf is being used

Do not bypass down/up reconfig codepath if the radio is being disabled,
otherwise it will be left running.

Signed-off-by: Prasun Maiti <prasunmaiti87@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix commit description]
wireless.c