summaryrefslogtreecommitdiff
path: root/net/phonet/pep-gprs.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2008-12-17 15:47:48 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-17 15:47:48 -0800
commit57c81fffc863fb4c1804bc963bcbfb82d736c6df (patch)
tree2b30247417b6656f557f34831a113a7ec1d531f2 /net/phonet/pep-gprs.c
parent2d91d78b68606ff7ce52ea70e187dee7831aa2f6 (diff)
downloadkernel-common-57c81fffc863fb4c1804bc963bcbfb82d736c6df.tar.gz
kernel-common-57c81fffc863fb4c1804bc963bcbfb82d736c6df.tar.bz2
kernel-common-57c81fffc863fb4c1804bc963bcbfb82d736c6df.zip
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)
static void gprs_setup(struct net_device *dev)
{
dev->features = NETIF_F_FRAGLIST;
- dev->type = ARPHRD_NONE;
+ dev->type = ARPHRD_PHONET_PIPE;
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
dev->mtu = GPRS_DEFAULT_MTU;
dev->hard_header_len = 0;