Show
Ignore:
Timestamp:
01/10/08 21:10:41 (4 years ago)
Author:
benoit
Message:

Fixed a kernel panic due to incorrect linux API use
hard_start_xmit() functions must either return NETDEV_TX_OK or
NETDEV_TX_BUSY (they might also return negative errno values as well,
like -ENETDOWN)
Correct a small missing static reported by sparse
This revert part of r3075

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/trunk/ath/if_ath.c

    r3122 r3123  
    29592959 * 
    29602960 * Context: process context with BHs disabled 
     2961 * It mut return either NETDEV_TX_OK or NETDEV_TX_BUSY 
    29612962 */ 
    29622963static int 
     
    58745875 * 
    58755876 * NB: MAY ALLOCATE */ 
    5876 struct sk_buff * 
     5877static struct sk_buff * 
    58775878ath_skb_removepad(struct sk_buff *skb, unsigned int copy_skb) 
    58785879{