Commit c30bdfea authored by Felix Fietkau's avatar Felix Fietkau

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: default avatarFelix Fietkau <nbd@nbd.name>
parent 723b90dc
...@@ -37,9 +37,8 @@ struct mt76x02_tx_status { ...@@ -37,9 +37,8 @@ struct mt76x02_tx_status {
#define MT_MAX_VIFS 8 #define MT_MAX_VIFS 8
struct mt76x02_vif { struct mt76x02_vif {
struct mt76_wcid group_wcid; /* must be first */
u8 idx; u8 idx;
struct mt76_wcid group_wcid;
}; };
DECLARE_EWMA(signal, 10, 8); DECLARE_EWMA(signal, 10, 8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment