mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt76x02: make group_wcid the first member in struct mt76x02_vif
Allows mt76 core to cast vif->drv_priv to struct mt76_wcid Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-2
@@ -37,9 +37,8 @@ struct mt76x02_tx_status {
|
||||
#define MT_MAX_VIFS 8
|
||||
|
||||
struct mt76x02_vif {
|
||||
struct mt76_wcid group_wcid; /* must be first */
|
||||
u8 idx;
|
||||
|
||||
struct mt76_wcid group_wcid;
|
||||
};
|
||||
|
||||
DECLARE_EWMA(signal, 10, 8);
|
||||
|
||||
Reference in New Issue
Block a user