forked from luck/tmp_suning_uos_patched
[PATCH] libertas: actually send mesh frames to mesh netdev
Found by Luis; got broken during module split. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
fff47f108d
commit
2fb3bd6a23
|
@ -141,10 +141,9 @@ void libertas_upload_rx_packet(wlan_private * priv, struct sk_buff *skb)
|
|||
lbs_deb_rx("skb->data %p\n", skb->data);
|
||||
|
||||
if (priv->mesh_dev && IS_MESH_FRAME(skb))
|
||||
skb->dev = priv->mesh_dev;
|
||||
skb->protocol = eth_type_trans(skb, priv->mesh_dev);
|
||||
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;
|
||||
|
||||
netif_rx(skb);
|
||||
|
|
Loading…
Reference in New Issue
Block a user