Skip to content

Commit

Permalink
[PATCH] libertas: actually send mesh frames to mesh netdev
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Williams authored and John W. Linville committed Jun 12, 2007
1 parent fff47f1 commit 2fb3bd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/wireless/libertas/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2fb3bd6

Please sign in to comment.