We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194a150 commit d9045b1Copy full SHA for d9045b1
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
@@ -1801,15 +1801,12 @@ static u8
1801
mt7915_mcu_sta_txbf_type(struct mt7915_phy *phy, struct ieee80211_vif *vif,
1802
struct ieee80211_sta *sta)
1803
{
1804
- struct mt7915_sta *msta;
1805
u8 type = 0;
1806
1807
if (vif->type != NL80211_IFTYPE_STATION &&
1808
vif->type != NL80211_IFTYPE_AP)
1809
return 0;
1810
1811
- msta = (struct mt7915_sta *)sta->drv_priv;
1812
-
1813
if (sta->he_cap.has_he) {
1814
struct ieee80211_he_cap_elem *pe;
1815
const struct ieee80211_he_cap_elem *ve;
0 commit comments