wireless: reset retry counter when setup succeeds
authorFelix Fietkau <nbd@nbd.name>
Wed, 29 Sep 2021 12:59:11 +0000 (14:59 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 29 Sep 2021 13:07:16 +0000 (15:07 +0200)
commite467e0ff44c00cdd722e7149baaa8706d44e657e
tree5c352912ee4cd03855e7646b214b4b676e8182f5
parent0e311d3f2d1a57bd3169f3ff5901cce917bd9123
wireless: reset retry counter when setup succeeds

A wireless device restart cycle can be triggered if a tracked process
(e.g. hostapd) dies and is restarted, and this left the retry counter
untouched

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