diff options
Diffstat (limited to 'drivers/net/wireless/netwave_cs.c')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index 712f26eef35d..9498b46c99a4 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -203,7 +203,8 @@ static int netwave_open(struct net_device *dev); /* Open the device */ | |||
203 | static int netwave_close(struct net_device *dev); /* Close the device */ | 203 | static int netwave_close(struct net_device *dev); /* Close the device */ |
204 | 204 | ||
205 | /* Packet transmission and Packet reception */ | 205 | /* Packet transmission and Packet reception */ |
206 | static int netwave_start_xmit( struct sk_buff *skb, struct net_device *dev); | 206 | static netdev_tx_t netwave_start_xmit( struct sk_buff *skb, |
207 | struct net_device *dev); | ||
207 | static int netwave_rx( struct net_device *dev); | 208 | static int netwave_rx( struct net_device *dev); |
208 | 209 | ||
209 | /* Interrupt routines */ | 210 | /* Interrupt routines */ |
@@ -1026,7 +1027,8 @@ static int netwave_hw_xmit(unsigned char* data, int len, | |||
1026 | return 0; | 1027 | return 0; |
1027 | } | 1028 | } |
1028 | 1029 | ||
1029 | static int netwave_start_xmit(struct sk_buff *skb, struct net_device *dev) { | 1030 | static netdev_tx_t netwave_start_xmit(struct sk_buff *skb, |
1031 | struct net_device *dev) { | ||
1030 | /* This flag indicate that the hardware can't perform a transmission. | 1032 | /* This flag indicate that the hardware can't perform a transmission. |
1031 | * Theoritically, NET3 check it before sending a packet to the driver, | 1033 | * Theoritically, NET3 check it before sending a packet to the driver, |
1032 | * but in fact it never do that and pool continuously. | 1034 | * but in fact it never do that and pool continuously. |