Commit d2b5bb6d authored by Howard Hsu's avatar Howard Hsu Committed by Felix Fietkau

wifi: mt76: mt7915: do not check state before configuring implicit beamform

Do not need to check running state before configuring implicit Tx
beamform. It is okay to configure implicit Tx beamform in run time.
Noted that the existing connected stations will be applied for new
configuration only if they reconnected to the interface.

Fixes: 6d6dc980 ("mt76: mt7915: add implicit Tx beamforming support")
Signed-off-by: default avatarHoward Hsu <howard-yh.hsu@mediatek.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 9be57ad7
...@@ -23,9 +23,9 @@ mt7915_implicit_txbf_set(void *data, u64 val) ...@@ -23,9 +23,9 @@ mt7915_implicit_txbf_set(void *data, u64 val)
{ {
struct mt7915_dev *dev = data; struct mt7915_dev *dev = data;
if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) /* The existing connected stations shall reconnect to apply
return -EBUSY; * new implicit txbf configuration.
*/
dev->ibf = !!val; dev->ibf = !!val;
return mt7915_mcu_set_txbf(dev, MT_BF_TYPE_UPDATE); return mt7915_mcu_set_txbf(dev, MT_BF_TYPE_UPDATE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment