summaryrefslogtreecommitdiff
path: root/net/phonet/pep-gprs.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2008-12-18 02:47:48 +0300
committerDavid S. Miller <davem@davemloft.net>2008-12-18 02:47:48 +0300
commit57c81fffc863fb4c1804bc963bcbfb82d736c6df (patch)
tree2b30247417b6656f557f34831a113a7ec1d531f2 /net/phonet/pep-gprs.c
parent2d91d78b68606ff7ce52ea70e187dee7831aa2f6 (diff)
downloadlinux-57c81fffc863fb4c1804bc963bcbfb82d736c6df.tar.xz
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;