mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 03:03:00 +09:00
ANDROID: net: PPPoPNS and PPPoLAC update to use PPP_MRU instead of PPP_MRU
Some headers files were moved around and some defines renamed. Signed-off-by: JP Abgrall <jpa@google.com>
This commit is contained in:
committed by
Dmitry Shmidt
parent
f6cd37560e
commit
bda61e596a
@@ -310,7 +310,7 @@ static int pppolac_connect(struct socket *sock, struct sockaddr *useraddr,
|
||||
po->chan.hdrlen = 12;
|
||||
po->chan.private = sk_udp;
|
||||
po->chan.ops = &pppolac_channel_ops;
|
||||
po->chan.mtu = PPP_MTU - 80;
|
||||
po->chan.mtu = PPP_MRU - 80;
|
||||
po->proto.lac.local = unaligned(&addr->local)->u32;
|
||||
po->proto.lac.remote = unaligned(&addr->remote)->u32;
|
||||
atomic_set(&po->proto.lac.sequencing, 1);
|
||||
|
||||
@@ -290,7 +290,7 @@ static int pppopns_connect(struct socket *sock, struct sockaddr *useraddr,
|
||||
po->chan.hdrlen = 14;
|
||||
po->chan.private = sk_raw;
|
||||
po->chan.ops = &pppopns_channel_ops;
|
||||
po->chan.mtu = PPP_MTU - 80;
|
||||
po->chan.mtu = PPP_MRU - 80;
|
||||
po->proto.pns.local = addr->local;
|
||||
po->proto.pns.remote = addr->remote;
|
||||
po->proto.pns.data_ready = sk_raw->sk_data_ready;
|
||||
|
||||
Reference in New Issue
Block a user