|
@@ -897,11 +897,13 @@ static int c4iw_uld_rx_handler(void *handle, const __be64 *rsp,
|
|
}
|
|
}
|
|
|
|
|
|
opcode = *(u8 *)rsp;
|
|
opcode = *(u8 *)rsp;
|
|
- if (c4iw_handlers[opcode])
|
|
|
|
|
|
+ if (c4iw_handlers[opcode]) {
|
|
c4iw_handlers[opcode](dev, skb);
|
|
c4iw_handlers[opcode](dev, skb);
|
|
- else
|
|
|
|
|
|
+ } else {
|
|
pr_info("%s no handler opcode 0x%x...\n", __func__,
|
|
pr_info("%s no handler opcode 0x%x...\n", __func__,
|
|
opcode);
|
|
opcode);
|
|
|
|
+ kfree_skb(skb);
|
|
|
|
+ }
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
nomem:
|
|
nomem:
|