Skip to content

Commit

Permalink
mac802154: use rate limited warnings for malformed frames
Browse files Browse the repository at this point in the history
Signed-off-by: Aristeu Rozanski <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
  • Loading branch information
aristeu authored and holtmann committed Sep 19, 2016
1 parent ca1de81 commit bd89bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/mac802154/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit bd89bb6

Please sign in to comment.