diff options
Diffstat (limited to 'net/phonet/pep-gprs.c')
-rw-r--r-- | net/phonet/pep-gprs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/phonet/pep-gprs.c b/net/phonet/pep-gprs.c index 480839dfc560..d183509d3fa6 100644 --- a/net/phonet/pep-gprs.c +++ b/net/phonet/pep-gprs.c | |||
@@ -183,7 +183,7 @@ static int gprs_close(struct net_device *dev) | |||
183 | return 0; | 183 | return 0; |
184 | } | 184 | } |
185 | 185 | ||
186 | static int gprs_xmit(struct sk_buff *skb, struct net_device *dev) | 186 | static netdev_tx_t gprs_xmit(struct sk_buff *skb, struct net_device *dev) |
187 | { | 187 | { |
188 | struct gprs_dev *gp = netdev_priv(dev); | 188 | struct gprs_dev *gp = netdev_priv(dev); |
189 | struct sock *sk = gp->sk; | 189 | struct sock *sk = gp->sk; |
@@ -195,7 +195,7 @@ static int gprs_xmit(struct sk_buff *skb, struct net_device *dev) | |||
195 | break; | 195 | break; |
196 | default: | 196 | default: |
197 | dev_kfree_skb(skb); | 197 | dev_kfree_skb(skb); |
198 | return 0; | 198 | return NETDEV_TX_OK; |
199 | } | 199 | } |
200 | 200 | ||
201 | skb_orphan(skb); | 201 | skb_orphan(skb); |
@@ -215,7 +215,7 @@ static int gprs_xmit(struct sk_buff *skb, struct net_device *dev) | |||
215 | netif_stop_queue(dev); | 215 | netif_stop_queue(dev); |
216 | if (pep_writeable(sk)) | 216 | if (pep_writeable(sk)) |
217 | netif_wake_queue(dev); | 217 | netif_wake_queue(dev); |
218 | return 0; | 218 | return NETDEV_TX_OK; |
219 | } | 219 | } |
220 | 220 | ||
221 | static int gprs_set_mtu(struct net_device *dev, int new_mtu) | 221 | static int gprs_set_mtu(struct net_device *dev, int new_mtu) |