mac802154: use rate limited warnings for malformed frames
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com> Acked-by: Alexander Aring <aar@pengutronix.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
ca1de81aa2
commit
bd89bb6daa
|
@ -109,8 +109,8 @@ ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
|
|||
case IEEE802154_FC_TYPE_DATA:
|
||||
return ieee802154_deliver_skb(skb);
|
||||
default:
|
||||
pr_warn("ieee802154: bad frame received (type = %d)\n",
|
||||
mac_cb(skb)->type);
|
||||
pr_warn_ratelimited("ieee802154: bad frame received "
|
||||
"(type = %d)\n", mac_cb(skb)->type);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue