mac80211: mesh hwmp: fix kfree(skb)

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
Patrick McHardy 2008-05-06 12:52:07 +02:00 • committed by John W. Linville
commit 812714d741

View file

@ -120,7 +120,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
*pos++ = WLAN_EID_PREP;
break;
default:
kfree(skb);
kfree_skb(skb);
return -ENOTSUPP;
break;
}