mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7921: use mt76_hw instead of open coding it
use mt76_hw instead of open coding it Signed-off-by: Sean Wang <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -490,7 +490,7 @@ mt7921_sniffer_interface_iter(void *priv, u8 *mac, struct ieee80211_vif *vif)
|
||||
|
||||
void mt7921_set_runtime_pm(struct mt7921_dev *dev)
|
||||
{
|
||||
struct ieee80211_hw *hw = dev->mphy.hw;
|
||||
struct ieee80211_hw *hw = mt76_hw(dev);
|
||||
struct mt76_connac_pm *pm = &dev->pm;
|
||||
bool monitor = !!(hw->conf.flags & IEEE80211_CONF_MONITOR);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user