summaryrefslogtreecommitdiff
path: root/net/mac80211/aead_api.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-09-27 15:35:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 15:00:56 +0200
commit4545b069aa2cd3287bf9399c02bdb3c829b75b75 (patch)
treefa48143abc4202743b158778559c98b9df37ae5a /net/mac80211/aead_api.h
parent27e8c8b483a8c33bd770b8cf619d43c7a68ddbaa (diff)
downloadlinux-next-4545b069aa2cd3287bf9399c02bdb3c829b75b75.tar.gz
tty: baudrate: Explicit usage of B0 for encoding input baudrate
Function tty_termios_input_baud_rate() checks IBSHIFT & CBAUD against B0 constant to determinate if input speed equals to output speed. So do same B0 check also in tty_termios_encode_baud_rate() function to make these two functions compatible. Currently macro B0 is defined to 0 so there is no functional change. This change just make code more explicit to show that Bnnn constants are stored in CBAUD. Signed-off-by: Pali Rohár <pali@kernel.org> Link: https://lore.kernel.org/r/20210927133516.8671-1-pali@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211/aead_api.h')
0 files changed, 0 insertions, 0 deletions