aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/ircomm/ircomm_ttp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/irda/ircomm/ircomm_ttp.c')
-rw-r--r--net/irda/ircomm/ircomm_ttp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/irda/ircomm/ircomm_ttp.c b/net/irda/ircomm/ircomm_ttp.c
index d362d711b79c..abe9a5ab8d34 100644
--- a/net/irda/ircomm/ircomm_ttp.c
+++ b/net/irda/ircomm/ircomm_ttp.c
@@ -188,7 +188,7 @@ static int ircomm_ttp_data_request(struct ircomm_cb *self,
188 188
189 ret = irttp_data_request(self->tsap, skb); 189 ret = irttp_data_request(self->tsap, skb);
190 if (ret) { 190 if (ret) {
191 IRDA_ERROR("%s(), failed\n", __func__); 191 net_err_ratelimited("%s(), failed\n", __func__);
192 /* irttp_data_request already free the packet */ 192 /* irttp_data_request already free the packet */
193 } 193 }
194 194
@@ -237,8 +237,8 @@ static void ircomm_ttp_connect_confirm(void *instance, void *sap,
237 IRDA_ASSERT(qos != NULL, goto out;); 237 IRDA_ASSERT(qos != NULL, goto out;);
238 238
239 if (max_sdu_size != TTP_SAR_DISABLE) { 239 if (max_sdu_size != TTP_SAR_DISABLE) {
240 IRDA_ERROR("%s(), SAR not allowed for IrCOMM!\n", 240 net_err_ratelimited("%s(), SAR not allowed for IrCOMM!\n",
241 __func__); 241 __func__);
242 goto out; 242 goto out;
243 } 243 }
244 244
@@ -278,8 +278,8 @@ static void ircomm_ttp_connect_indication(void *instance, void *sap,
278 IRDA_ASSERT(qos != NULL, goto out;); 278 IRDA_ASSERT(qos != NULL, goto out;);
279 279
280 if (max_sdu_size != TTP_SAR_DISABLE) { 280 if (max_sdu_size != TTP_SAR_DISABLE) {
281 IRDA_ERROR("%s(), SAR not allowed for IrCOMM!\n", 281 net_err_ratelimited("%s(), SAR not allowed for IrCOMM!\n",
282 __func__); 282 __func__);
283 goto out; 283 goto out;
284 } 284 }
285 285