projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272a9e2
)
mac80211: return -ENOMEM in mesh_plink_frame_tx
author
Bob Copeland
<me@bobcopeland.com>
Tue, 5 Nov 2013 19:16:57 +0000
(11:16 -0800)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:10 +0000
(20:50 +0100)
All other paths return an error code, do the same here.
Signed-off-by: Bob Copeland <bob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/mesh_plink.c
b/net/mac80211/mesh_plink.c
index 550ebc1463ca4880c5556652766b0a87e382df0f..429f69278d165667ae265929d6fb11148b100bed 100644
(file)
--- a/
net/mac80211/mesh_plink.c
+++ b/
net/mac80211/mesh_plink.c
@@
-283,7
+283,7
@@
static int mesh_plink_frame_tx(struct ieee80211_sub_if_data *sdata,
2 + 8 + /* peering IE */
sdata->u.mesh.ie_len);
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);