cwc: faster reconfigure
This commit is contained in:
parent
ef3ed0086a
commit
72549c7172
1 changed files with 4 additions and 1 deletions
|
@ -1195,7 +1195,10 @@ cwc_thread(void *aux)
|
|||
}
|
||||
|
||||
if(cwc->cwc_running == 0) continue;
|
||||
if(attempts == 1) continue; // Retry immediately
|
||||
if(attempts == 1 || cwc->cwc_reconfigure) {
|
||||
cwc->cwc_reconfigure = 0;
|
||||
continue; // Retry immediately
|
||||
}
|
||||
|
||||
caclient_set_status((caclient_t *)cwc, CACLIENT_STATUS_DISCONNECTED);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue