mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mac80211: inform the low level if drv_stop() is a suspend
This will allow the low level driver to take different actions for different flows. Signed-off-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20240618192529.739036208b6e.Ie18a2fe8e02bf2717549d39420b350cfdaf3d317@changeid Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
059342ca6a
commit
8bef114432
+1
-1
@@ -24,7 +24,7 @@ mt76x2_start(struct ieee80211_hw *hw)
|
||||
}
|
||||
|
||||
static void
|
||||
mt76x2_stop(struct ieee80211_hw *hw)
|
||||
mt76x2_stop(struct ieee80211_hw *hw, bool suspend)
|
||||
{
|
||||
struct mt76x02_dev *dev = hw->priv;
|
||||
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ static int mt76x2u_start(struct ieee80211_hw *hw)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void mt76x2u_stop(struct ieee80211_hw *hw)
|
||||
static void mt76x2u_stop(struct ieee80211_hw *hw, bool suspend)
|
||||
{
|
||||
struct mt76x02_dev *dev = hw->priv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user