summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-11-19 16:57:27 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-11-30 04:40:23 -0500
commit67f0f15ad5c47490e19f2526f8f9cea97c5ce1a6 (patch)
treefb0fe160f14d29c9dba5a11a2e593279592dc50d /net/mac80211
parent6d33377f2abbf9f0e561b116dd468d1c3ff36a6a (diff)
media: rc: partial revert of "media: rc: per-protocol repeat period"
Since commit d57ea877af38 ("media: rc: per-protocol repeat period"), most IR protocols have a lower keyup timeout. This causes problems on the ite-cir, which has default IR timeout of 200ms. Since the IR decoders read the trailing space, with a IR timeout of 200ms, the last keydown will have at least a delay of 200ms. This is more than the protocol timeout of e.g. rc-6 (which is 164ms). As a result the last IR will be interpreted as a new keydown event, and we get two keypresses. Revert the protocol timeout to 250ms, except for cec which needs a timeout of 550ms. Fixes: d57ea877af38 ("media: rc: per-protocol repeat period") Cc: <stable@vger.kernel.org> # 4.14 Reported-by: Matthias Reichl <hias@horus.com> Signed-off-by: Sean Young <sean@mess.org> Tested-by: Matthias Reichl <hias@horus.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions