Commit 2fb3bd6a authored by Dan Williams's avatar Dan Williams Committed by John W. Linville

[PATCH] libertas: actually send mesh frames to mesh netdev

Found by Luis; got broken during module split.
Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent fff47f10
...@@ -141,9 +141,8 @@ void libertas_upload_rx_packet(wlan_private * priv, struct sk_buff *skb) ...@@ -141,9 +141,8 @@ void libertas_upload_rx_packet(wlan_private * priv, struct sk_buff *skb)
lbs_deb_rx("skb->data %p\n", skb->data); lbs_deb_rx("skb->data %p\n", skb->data);
if (priv->mesh_dev && IS_MESH_FRAME(skb)) if (priv->mesh_dev && IS_MESH_FRAME(skb))
skb->dev = priv->mesh_dev; skb->protocol = eth_type_trans(skb, priv->mesh_dev);
else else
skb->dev = priv->dev;
skb->protocol = eth_type_trans(skb, priv->dev); skb->protocol = eth_type_trans(skb, priv->dev);
skb->ip_summed = CHECKSUM_UNNECESSARY; skb->ip_summed = CHECKSUM_UNNECESSARY;
......
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