mt76: mt7921: fix -Werror=incompatible-pointer-types build error
Subsystems (2)
[email protected]
reviewerPATCH 1/1 mt76: mt7921: fix -Werror=incompatible-pointer-types build error
From: Sean Wang <[email protected]>
start/stop ap funciton definition is changed since 'ae7ba17b49b6 ("wifi: mac80211: pass the link id in start/stop ap")' was added, so we adapt into it to fix -Werror=incompatible-pointer-types build error.
Signed-off-by Sean Wang <[email protected]>
--- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7921/main.c +4 -4
@@ -1505,8 +1505,8 @@ mt7921_channel_switch_beacon(struct ieee80211_hw *hw, }static int -mt7921_start_ap (struct ieee80211_hw *hw, -struct ieee80211_vif *vif) +mt7921_start_ap (struct ieee80211_hw *hw,struct ieee80211_vif *vif, +unsigned int link_id) {struct mt7921_vif *mvif = (struct mt7921_vif *)vif->drv_priv;struct mt7921_phy *phy =mt7921_hw_phy (hw);
@@ -1527,8 +1527,8 @@ mt7921_start_ap(struct ieee80211_hw *hw, }static void -mt7921_stop_ap (struct ieee80211_hw *hw, -struct ieee80211_vif *vif) +mt7921_stop_ap (struct ieee80211_hw *hw,struct ieee80211_vif *vif, +unsigned int link_id) {struct mt7921_vif *mvif = (struct mt7921_vif *)vif->drv_priv;struct mt7921_phy *phy =mt7921_hw_phy (hw);
Signature · 1 line
2.25.1