aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wavelan_cs.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-07-05 22:23:38 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-05 22:23:38 -0400
commitec634fe328182a1a098585bfc7b69e5042bdb08d (patch)
tree02883aaee743af10d78d6d8fe9181944b4dd4529 /drivers/net/wireless/wavelan_cs.c
parenta73e76e23c20c05cb8c0b7ba8bc9daa04b05c80f (diff)
net: convert remaining non-symbolic return values in ndo_start_xmit() functions
This patch converts the remaining occurences of raw return values to their symbolic counterparts in ndo_start_xmit() functions that were missed by the previous automatic conversion. Additionally code that assumed the symbolic value of NETDEV_TX_OK to be zero is changed to explicitly use NETDEV_TX_OK. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/wavelan_cs.c')
-rw-r--r--drivers/net/wireless/wavelan_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c
index 6af706408ac0..9dd241adc379 100644
--- a/drivers/net/wireless/wavelan_cs.c
+++ b/drivers/net/wireless/wavelan_cs.c
@@ -3113,7 +3113,7 @@ wavelan_packet_xmit(struct sk_buff * skb,
3113 * able to detect collisions, therefore in theory we don't really 3113 * able to detect collisions, therefore in theory we don't really
3114 * need to pad. Jean II */ 3114 * need to pad. Jean II */
3115 if (skb_padto(skb, ETH_ZLEN)) 3115 if (skb_padto(skb, ETH_ZLEN))
3116 return 0; 3116 return NETDEV_TX_OK;
3117 3117
3118 wv_packet_write(dev, skb->data, skb->len); 3118 wv_packet_write(dev, skb->data, skb->len);
3119 3119
@@ -3122,7 +3122,7 @@ wavelan_packet_xmit(struct sk_buff * skb,
3122#ifdef DEBUG_TX_TRACE 3122#ifdef DEBUG_TX_TRACE
3123 printk(KERN_DEBUG "%s: <-wavelan_packet_xmit()\n", dev->name); 3123 printk(KERN_DEBUG "%s: <-wavelan_packet_xmit()\n", dev->name);
3124#endif 3124#endif
3125 return(0); 3125 return NETDEV_TX_OK;
3126} 3126}
3127 3127
3128/********************** HARDWARE CONFIGURATION **********************/ 3128/********************** HARDWARE CONFIGURATION **********************/