Skip to content

Commit

Permalink
caif: Clear shutdown mask to zero at reconnect.
Browse files Browse the repository at this point in the history
Clear caif sockets's shutdown mask at (re)connect.

Signed-off-by: Sjur Brændeland <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Sjur Brændeland authored and davem330 committed Jun 25, 2012
1 parent 437c5b5 commit eaa8c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/caif/caif_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit eaa8c5f

Please sign in to comment.