Skip to content

Commit

Permalink
mt76: mt76x02: make group_wcid the first member in struct mt76x02_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 963768d commit d7788cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mt76x02_mac.h
Expand Up @@ -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);
Expand Down

0 comments on commit d7788cc

Please sign in to comment.