Handle race condition in phone_connect
commitde1074b523db106c95d7d8ae3cd751da641e579e
authorJakub Jermar <jakub@jermar.eu>
Sun, 4 Mar 2018 17:51:52 +0000 (4 18:51 +0100)
committerJakub Jermar <jakub@jermar.eu>
Tue, 13 Mar 2018 18:01:47 +0000 (13 19:01 +0100)
tree732e44df9ba44435c73c62628627a953bbbe71ca
parentbde48fa65c57367a67698ab35393a7092b988112
Handle race condition in phone_connect

Do not panic if the phone is not in the expected state. This could mean
that the user hung up the original phone and created a new one under the
same capability handle.
kernel/generic/src/ipc/ipcrsc.c