caif: Clear shutdown mask to zero at reconnect.
Clear caif sockets's shutdown mask at (re)connect. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
437c5b53f6
Коммит
eaa8c5f3cf
|
@ -220,6 +220,7 @@ static void caif_ctrl_cb(struct cflayer *layr,
|
||||||
cfsk_hold, cfsk_put);
|
cfsk_hold, cfsk_put);
|
||||||
cf_sk->sk.sk_state = CAIF_CONNECTED;
|
cf_sk->sk.sk_state = CAIF_CONNECTED;
|
||||||
set_tx_flow_on(cf_sk);
|
set_tx_flow_on(cf_sk);
|
||||||
|
cf_sk->sk.sk_shutdown = 0;
|
||||||
cf_sk->sk.sk_state_change(&cf_sk->sk);
|
cf_sk->sk.sk_state_change(&cf_sk->sk);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче