diff options
author | Dan Williams <dcbw@redhat.com> | 2007-06-04 20:05:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-12 14:02:41 -0400 |
commit | 2fb3bd6a23e5d37889a78b6a13a124fa7c586009 (patch) | |
tree | f1e31248ced0b82a92ef3c7ccb435de25105b9d0 /drivers/net/wireless | |
parent | fff47f108d7bd9f80b223cd187e09dbb0cb89114 (diff) |
[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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/libertas/rx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index 5d70a7625150..88d9d2d787d5 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c | |||
@@ -141,10 +141,9 @@ void libertas_upload_rx_packet(wlan_private * priv, struct sk_buff *skb) | |||
141 | lbs_deb_rx("skb->data %p\n", skb->data); | 141 | lbs_deb_rx("skb->data %p\n", skb->data); |
142 | 142 | ||
143 | if (priv->mesh_dev && IS_MESH_FRAME(skb)) | 143 | if (priv->mesh_dev && IS_MESH_FRAME(skb)) |
144 | skb->dev = priv->mesh_dev; | 144 | skb->protocol = eth_type_trans(skb, priv->mesh_dev); |
145 | else | 145 | else |
146 | skb->dev = priv->dev; | 146 | skb->protocol = eth_type_trans(skb, priv->dev); |
147 | skb->protocol = eth_type_trans(skb, priv->dev); | ||
148 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 147 | skb->ip_summed = CHECKSUM_UNNECESSARY; |
149 | 148 | ||
150 | netif_rx(skb); | 149 | netif_rx(skb); |