diff options
Diffstat (limited to 'drivers/net/irda/tekram-sir.c')
-rw-r--r-- | drivers/net/irda/tekram-sir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/irda/tekram-sir.c b/drivers/net/irda/tekram-sir.c index 048a15422844..04db4eac9dc3 100644 --- a/drivers/net/irda/tekram-sir.c +++ b/drivers/net/irda/tekram-sir.c | |||
@@ -179,7 +179,8 @@ static int tekram_change_speed(struct sir_dev *dev, unsigned speed) | |||
179 | break; | 179 | break; |
180 | 180 | ||
181 | default: | 181 | default: |
182 | IRDA_ERROR("%s - undefined state %d\n", __func__, state); | 182 | net_err_ratelimited("%s - undefined state %d\n", |
183 | __func__, state); | ||
183 | ret = -EINVAL; | 184 | ret = -EINVAL; |
184 | break; | 185 | break; |
185 | } | 186 | } |