aboutsummaryrefslogtreecommitdiffstats
path: root/net/phonet/pep-gprs.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2008-12-17 18:47:48 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-17 18:47:48 -0500
commit57c81fffc863fb4c1804bc963bcbfb82d736c6df (patch)
tree2b30247417b6656f557f34831a113a7ec1d531f2 /net/phonet/pep-gprs.c
parent2d91d78b68606ff7ce52ea70e187dee7831aa2f6 (diff)
Phonet: allocate separate ARP type for GPRS over a Phonet pipe
A separate xmit lock class supports GPRS over a Phonet pipe over a TUN device (type ARPHRD_NONE). Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/pep-gprs.c')
-rw-r--r--net/phonet/pep-gprs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/phonet/pep-gprs.c b/net/phonet/pep-gprs.c
index 0b640b0fce0c..a2873203dff2 100644
--- a/net/phonet/pep-gprs.c
+++ b/net/phonet/pep-gprs.c
@@ -260,7 +260,7 @@ static int gprs_set_mtu(struct net_device *dev, int new_mtu)
260static void gprs_setup(struct net_device *dev) 260static void gprs_setup(struct net_device *dev)
261{ 261{
262 dev->features = NETIF_F_FRAGLIST; 262 dev->features = NETIF_F_FRAGLIST;
263 dev->type = ARPHRD_NONE; 263 dev->type = ARPHRD_PHONET_PIPE;
264 dev->flags = IFF_POINTOPOINT | IFF_NOARP; 264 dev->flags = IFF_POINTOPOINT | IFF_NOARP;
265 dev->mtu = GPRS_DEFAULT_MTU; 265 dev->mtu = GPRS_DEFAULT_MTU;
266 dev->hard_header_len = 0; 266 dev->hard_header_len = 0;