Search Linux Wireless

Re: [PATCH] libertas: fixes for slow hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-10-08 at 11:18 +0200, Holger Schurig wrote:
> This fixes issues where either the CF module is slow (and needs 
> more time while downloading the firmware) or where the host 
> computer is slow, so that some card interrupts arrive while
> the system was still downloading the firmware.
> 
> Signed-off-by: Vitaly V. Bursov <vitalyvb@xxxxxxx>
> Signed-off-by: Holger Schurig <hs4233@xxxxxxxxxxxxxxxxxxxx>

@@ -405,6 +405,7 @@ static struct sk_buff *if_cs_receive_dat
        skb = dev_alloc_skb(MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + 2);
        if (!skb)
                goto out;
+       skb->dev = priv->dev;
        skb_put(skb, len);
        skb_reserve(skb, 2);/* 16 byte align */
        data = skb->data;

This hunk is not necessary, the skb->dev gets set in
libertas_upload_rx_packet() when calling eth_type_trans().  If using a
kernel <= 2.6.21, setting skb->dev should be handled by
libertas_upload_rx_packet() for you later on.

Dan


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux