Commit 87d84c45 authored by Bob Copeland's avatar Bob Copeland Committed by Johannes Berg

mac80211: return -ENOMEM in mesh_plink_frame_tx

All other paths return an error code, do the same here.
Signed-off-by: default avatarBob Copeland <>
Signed-off-by: default avatarJohannes Berg <>
parent 272a9e26
......@@ -283,7 +283,7 @@ static int mesh_plink_frame_tx(struct ieee80211_sub_if_data *sdata,
2 + 8 + /* peering IE */
if (!skb)
return -1;
return err;
info = IEEE80211_SKB_CB(skb);
skb_reserve(skb, local->tx_headroom);
mgmt = (struct ieee80211_mgmt *) skb_put(skb, hdr_len);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment