Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2fb3bd6a23e5d37889a78b6a13a124fa7c586009
Commit:     2fb3bd6a23e5d37889a78b6a13a124fa7c586009
Parent:     fff47f108d7bd9f80b223cd187e09dbb0cb89114
Author:     Dan Williams <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 4 20:05:23 2007 -0400
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Tue Jun 12 14:02:41 2007 -0400

    [PATCH] libertas: actually send mesh frames to mesh netdev
    
    Found by Luis; got broken during module split.
    
    Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 5d70a76..88d9d2d 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)
        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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to