diff options
Diffstat (limited to 'net/caif/cfcnfg.c')
-rw-r--r-- | net/caif/cfcnfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c index ef93a131310b..41adafd18914 100644 --- a/net/caif/cfcnfg.c +++ b/net/caif/cfcnfg.c | |||
@@ -197,7 +197,7 @@ int cfcnfg_disconn_adapt_layer(struct cfcnfg *cnfg, struct cflayer *adap_layer) | |||
197 | caif_assert(adap_layer != NULL); | 197 | caif_assert(adap_layer != NULL); |
198 | channel_id = adap_layer->id; | 198 | channel_id = adap_layer->id; |
199 | if (adap_layer->dn == NULL || channel_id == 0) { | 199 | if (adap_layer->dn == NULL || channel_id == 0) { |
200 | pr_err("adap_layer->id is 0\n"); | 200 | pr_err("adap_layer->dn == NULL or adap_layer->id is 0\n"); |
201 | ret = -ENOTCONN; | 201 | ret = -ENOTCONN; |
202 | goto end; | 202 | goto end; |
203 | } | 203 | } |