projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723b90d
)
mt76: mt76x02: make group_wcid the first member in struct mt76x02_vif
author
Felix Fietkau
<nbd@nbd.name>
Thu, 15 Nov 2018 17:44:37 +0000
(18:44 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 30 Nov 2018 11:29:36 +0000
(12:29 +0100)
Allows mt76 core to cast vif->drv_priv to struct mt76_wcid
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
b/drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
index b076c4305585394f940763b65cb30aaf93183b1e..cf5c06a0a58ad92f9c4ca3daff9076792092fd15 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
@@
-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);