]> git.baikalelectronics.ru Git - kernel.git/commit
rsi: Assign beacon rate settings to the correct rate_info descriptor field
authorMarek Vasut <marex@denx.de>
Fri, 7 May 2021 21:31:05 +0000 (23:31 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 Jun 2021 13:37:19 +0000 (16:37 +0300)
commit474cebaed87c19af41e3bdb103c966a38cccc3a4
treef68bb47d29e821683a337a7ab48d167ea90d909d
parent61f7026e66dfe81c56def1cac3c8c3b3d7cd6b94
rsi: Assign beacon rate settings to the correct rate_info descriptor field

The RSI_RATE_x bits must be assigned to struct rsi_data_desc rate_info
field. The rest of the driver does it correctly, except this one place,
so fix it. This is also aligned with the RSI downstream vendor driver.
Without this patch, an AP operating at 5 GHz does not transmit any
beacons at all, this patch fixes that.

Fixes: 354f3877f7ac ("rsi: add beacon changes for AP mode")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Cc: Angus Ainslie <angus@akkea.ca>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Karun Eagalapati <karun256@gmail.com>
Cc: Martin Kepplinger <martink@posteo.de>
Cc: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Cc: Siva Rebbagondla <siva8118@gmail.com>
Cc: netdev@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210507213105.140138-1-marex@denx.de
drivers/net/wireless/rsi/rsi_91x_hal.c