mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: remove unnecessary locking
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -432,7 +432,6 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi,
|
||||
);
|
||||
txwi[6] = 0;
|
||||
|
||||
spin_lock_bh(&dev->mt76.lock);
|
||||
if (rate->idx >= 0 && rate->count) {
|
||||
bool stbc = info->flags & IEEE80211_TX_CTL_STBC;
|
||||
u16 rateval = mt7603_mac_tx_rate_val(dev, rate, stbc, &bw);
|
||||
@@ -449,7 +448,6 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi,
|
||||
|
||||
tx_count = rate->count;
|
||||
}
|
||||
spin_unlock_bh(&dev->mt76.lock);
|
||||
|
||||
txwi[3] = cpu_to_le32(MT76_SET(MT_TXD3_REM_TX_COUNT, tx_count));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user