In order to measure the carrier, the redrat3 needs to switch to the
short range wideband receiver. This is what s_learning_mode() or
the LIRC_SET_WIDEBAND_RECEIVER ioctl is for.
Signed-off-by: Sean Young <sean@mess.org>
---
drivers/media/rc/redrat3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index 2cf3377ec63a..04483afc446b 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -952,7 +952,7 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
rc->s_timeout = redrat3_set_timeout;
rc->tx_ir = redrat3_transmit_ir;
rc->s_tx_carrier = redrat3_set_tx_carrier;
- rc->s_carrier_report = redrat3_wideband_receiver;
+ rc->s_learning_mode = redrat3_wideband_receiver;
rc->driver_name = DRIVER_NAME;
rc->rx_resolution = 2;
rc->map_name = RC_MAP_HAUPPAUGE;
--
2.31.1