Skip to content

Commit

Permalink
mt7603: make group_wcid the first member in struct mt7603_vif
Browse files Browse the repository at this point in the history
Allows mt76 core to cast vif->drv_priv to struct mt76_wcid

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Nov 16, 2018
1 parent d7788cc commit e65ad4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mt7603/mt7603.h
Expand Up @@ -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 {
Expand Down

0 comments on commit e65ad4c

Please sign in to comment.