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:
parent
437c5b53f6
commit
eaa8c5f3cf
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ static void caif_ctrl_cb(struct cflayer *layr,
|
|||
cfsk_hold, cfsk_put);
|
||||
cf_sk->sk.sk_state = CAIF_CONNECTED;
|
||||
set_tx_flow_on(cf_sk);
|
||||
cf_sk->sk.sk_shutdown = 0;
|
||||
cf_sk->sk.sk_state_change(&cf_sk->sk);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue