aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irttp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/irda/irttp.c')
-rw-r--r--net/irda/irttp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/irda/irttp.c b/net/irda/irttp.c
index 3279897a01b0..7069e4a58257 100644
--- a/net/irda/irttp.c
+++ b/net/irda/irttp.c
@@ -551,7 +551,7 @@ int irttp_udata_request(struct tsap_cb *self, struct sk_buff *skb)
551 } 551 }
552 552
553 if (skb->len > self->max_seg_size) { 553 if (skb->len > self->max_seg_size) {
554 IRDA_DEBUG(1, "%s(), UData is to large for IrLAP!\n", 554 IRDA_DEBUG(1, "%s(), UData is too large for IrLAP!\n",
555 __FUNCTION__); 555 __FUNCTION__);
556 goto err; 556 goto err;
557 } 557 }
@@ -598,7 +598,7 @@ int irttp_data_request(struct tsap_cb *self, struct sk_buff *skb)
598 * inside an IrLAP frame 598 * inside an IrLAP frame
599 */ 599 */
600 if ((self->tx_max_sdu_size == 0) && (skb->len > self->max_seg_size)) { 600 if ((self->tx_max_sdu_size == 0) && (skb->len > self->max_seg_size)) {
601 IRDA_ERROR("%s: SAR disabled, and data is to large for IrLAP!\n", 601 IRDA_ERROR("%s: SAR disabled, and data is too large for IrLAP!\n",
602 __FUNCTION__); 602 __FUNCTION__);
603 ret = -EMSGSIZE; 603 ret = -EMSGSIZE;
604 goto err; 604 goto err;