diff options
| -rw-r--r-- | net/caif/cfctrl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/caif/cfctrl.c b/net/caif/cfctrl.c index 2bd4b58f4372..0f455227da83 100644 --- a/net/caif/cfctrl.c +++ b/net/caif/cfctrl.c | |||
| @@ -293,9 +293,10 @@ int cfctrl_linkup_request(struct cflayer *layer, | |||
| 293 | 293 | ||
| 294 | count = cfctrl_cancel_req(&cfctrl->serv.layer, | 294 | count = cfctrl_cancel_req(&cfctrl->serv.layer, |
| 295 | user_layer); | 295 | user_layer); |
| 296 | if (count != 1) | 296 | if (count != 1) { |
| 297 | pr_err("Could not remove request (%d)", count); | 297 | pr_err("Could not remove request (%d)", count); |
| 298 | return -ENODEV; | 298 | return -ENODEV; |
| 299 | } | ||
| 299 | } | 300 | } |
| 300 | return 0; | 301 | return 0; |
| 301 | } | 302 | } |
