diff options
Diffstat (limited to 'net/caif/cfmuxl.c')
-rw-r--r-- | net/caif/cfmuxl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/caif/cfmuxl.c b/net/caif/cfmuxl.c index ebfda2c9290b..fc2497468571 100644 --- a/net/caif/cfmuxl.c +++ b/net/caif/cfmuxl.c | |||
@@ -188,7 +188,8 @@ static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt) | |||
188 | u8 linkid; | 188 | u8 linkid; |
189 | struct cflayer *dn; | 189 | struct cflayer *dn; |
190 | struct caif_payload_info *info = cfpkt_info(pkt); | 190 | struct caif_payload_info *info = cfpkt_info(pkt); |
191 | dn = get_dn(muxl, cfpkt_info(pkt)->dev_info); | 191 | BUG_ON(!info); |
192 | dn = get_dn(muxl, info->dev_info); | ||
192 | if (dn == NULL) { | 193 | if (dn == NULL) { |
193 | pr_warn("Send data on unknown phy ID = %d (0x%x)\n", | 194 | pr_warn("Send data on unknown phy ID = %d (0x%x)\n", |
194 | info->dev_info->id, info->dev_info->id); | 195 | info->dev_info->id, info->dev_info->id); |