mt7603: make group_wcid the first member in struct mt7603_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:
Felix Fietkau
2018-11-16 12:09:52 +01:00
parent d7788cc661
commit e65ad4c5db
+2 -2
View File
@@ -77,9 +77,9 @@ struct mt7603_sta {
};
struct mt7603_vif {
u8 idx;
struct mt7603_sta sta; /* must be first */
struct mt7603_sta sta;
u8 idx;
};
enum mt7603_reset_cause {