summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-05-20 17:51:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-21 13:45:00 +0200
commit5aac95320d0f17f1098960e903ce5e087f42bc70 (patch)
treec2a30451db2e9de92b4ec5165a9a10752834418f /net/lapb/lapb_timer.c
parent7a7f07f248a60c10da9b751bcb1cb00d61f7fb30 (diff)
staging: gpib: Fix secondary address restriction
GPIB secondary addresses have valid values between 0 and 31 inclusive. The Make Secondary Address function MSA, used to form the protocol byte, was using the gpib_address_restrict function erroneously restricting the address range to 0 through 30. Remove the call to gpib_address_restrict and simply trim the address to 5 bits. Fixes: 2da03e7e31aa ("staging: gpib: Add user api include files") Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://lore.kernel.org/r/20250520155100.5808-1-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions