wireless: fix config state handling