summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_port.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-01-25 00:44:06 +0000
committerKalle Valo <quic_kvalo@quicinc.com>2022-01-31 16:13:47 +0200
commit02a95374b5eebdbd3b6413fd7ddec151d2ea75a1 (patch)
tree32df7748a5e1c3c2bf4979364efcf29d924192c0 /drivers/tty/tty_port.c
parent98d504a82cc75840bec8e3c6ae0e4f411921962b (diff)
carl9170: fix missing bit-wise or operator for tx_params
Currently tx_params is being re-assigned with a new value and the previous setting IEEE80211_HT_MCS_TX_RX_DIFF is being overwritten. The assignment operator is incorrect, the original intent was to bit-wise or the value in. Fix this by replacing the = operator with |= instead. Kudos to Christian Lamparter for suggesting the correct fix. Fixes: fe8ee9ad80b2 ("carl9170: mac80211 glue and command interface") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Cc: <Stable@vger.kernel.org> Acked-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20220125004406.344422-1-colin.i.king@gmail.com
Diffstat (limited to 'drivers/tty/tty_port.c')
0 files changed, 0 insertions, 0 deletions