Skip to content

Commit

Permalink
Fix incorrect SKB length
Browse files Browse the repository at this point in the history
  • Loading branch information
medusalix committed Jun 6, 2022
1 parent 5cbad48 commit 8311a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/mt76.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ int xone_mt76_associate_client(struct xone_mt76 *mt, u8 wcid, u8 *addr)
sizeof(mgmt.u.assoc_resp);
int err;

skb = xone_mt76_alloc_message(sizeof(struct mt76_txwi) + mgmt_len,
skb = xone_mt76_alloc_message(sizeof(struct mt76_txwi) + mgmt_len + 8,
GFP_KERNEL);
if (!skb)
return -ENOMEM;
Expand Down

0 comments on commit 8311a25

Please sign in to comment.