diff options
Diffstat (limited to 'net/irda/irnet/irnet_ppp.c')
-rw-r--r-- | net/irda/irnet/irnet_ppp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/irda/irnet/irnet_ppp.c b/net/irda/irnet/irnet_ppp.c index a1e502ff9070..2f9f8dce5a69 100644 --- a/net/irda/irnet/irnet_ppp.c +++ b/net/irda/irnet/irnet_ppp.c | |||
@@ -93,7 +93,7 @@ irnet_ctrl_write(irnet_socket * ap, | |||
93 | 93 | ||
94 | /* Check if we recognised one of the known command | 94 | /* Check if we recognised one of the known command |
95 | * We can't use "switch" with strings, so hack with "continue" */ | 95 | * We can't use "switch" with strings, so hack with "continue" */ |
96 | 96 | ||
97 | /* First command : name -> Requested IrDA nickname */ | 97 | /* First command : name -> Requested IrDA nickname */ |
98 | if(!strncmp(start, "name", 4)) | 98 | if(!strncmp(start, "name", 4)) |
99 | { | 99 | { |
@@ -744,7 +744,7 @@ dev_irnet_ioctl(struct inode * inode, | |||
744 | break; | 744 | break; |
745 | 745 | ||
746 | /* Set DTR/RTS */ | 746 | /* Set DTR/RTS */ |
747 | case TIOCMBIS: | 747 | case TIOCMBIS: |
748 | case TIOCMBIC: | 748 | case TIOCMBIC: |
749 | /* Set exclusive/non-exclusive mode */ | 749 | /* Set exclusive/non-exclusive mode */ |
750 | case TIOCEXCL: | 750 | case TIOCEXCL: |
@@ -941,7 +941,7 @@ ppp_irnet_send(struct ppp_channel * chan, | |||
941 | ret = irttp_data_request(self->tsap, skb); | 941 | ret = irttp_data_request(self->tsap, skb); |
942 | if(ret < 0) | 942 | if(ret < 0) |
943 | { | 943 | { |
944 | /* | 944 | /* |
945 | * > IrTTPs tx queue is full, so we just have to | 945 | * > IrTTPs tx queue is full, so we just have to |
946 | * > drop the frame! You might think that we should | 946 | * > drop the frame! You might think that we should |
947 | * > just return -1 and don't deallocate the frame, | 947 | * > just return -1 and don't deallocate the frame, |
@@ -949,7 +949,7 @@ ppp_irnet_send(struct ppp_channel * chan, | |||
949 | * > we have replaced the original skb with a new | 949 | * > we have replaced the original skb with a new |
950 | * > one with larger headroom, and that would really | 950 | * > one with larger headroom, and that would really |
951 | * > confuse do_dev_queue_xmit() in dev.c! I have | 951 | * > confuse do_dev_queue_xmit() in dev.c! I have |
952 | * > tried :-) DB | 952 | * > tried :-) DB |
953 | * Correction : we verify the flow control above (self->tx_flow), | 953 | * Correction : we verify the flow control above (self->tx_flow), |
954 | * so we come here only if IrTTP doesn't like the packet (empty, | 954 | * so we come here only if IrTTP doesn't like the packet (empty, |
955 | * too large, IrTTP not connected). In those rare cases, it's ok | 955 | * too large, IrTTP not connected). In those rare cases, it's ok |
@@ -1136,6 +1136,6 @@ irnet_cleanup(void) | |||
1136 | module_init(irnet_init); | 1136 | module_init(irnet_init); |
1137 | module_exit(irnet_cleanup); | 1137 | module_exit(irnet_cleanup); |
1138 | MODULE_AUTHOR("Jean Tourrilhes <jt@hpl.hp.com>"); | 1138 | MODULE_AUTHOR("Jean Tourrilhes <jt@hpl.hp.com>"); |
1139 | MODULE_DESCRIPTION("IrNET : Synchronous PPP over IrDA"); | 1139 | MODULE_DESCRIPTION("IrNET : Synchronous PPP over IrDA"); |
1140 | MODULE_LICENSE("GPL"); | 1140 | MODULE_LICENSE("GPL"); |
1141 | MODULE_ALIAS_CHARDEV(10, 187); | 1141 | MODULE_ALIAS_CHARDEV(10, 187); |