diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-04-29 11:12:59 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 14:04:00 +0300 |
commit | 3041c445e62669327eff68a7f5ac342ba48cf4fd (patch) | |
tree | cee0293201cdd70650b585ab3f605d941f52f6df /drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c | |
parent | f8f527b16db5d6cf17f6a986aff710bdd7e48cad (diff) | |
download | linux-3041c445e62669327eff68a7f5ac342ba48cf4fd.tar.xz |
mt76: move beacon_int in mt76_dev
Move beacon_int in mt76_dev data structure since it is used by
all drivers
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c b/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c index 0c232d02f189..985a9b5d0e45 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c @@ -167,7 +167,7 @@ void mt76x02_mac_set_beacon_enable(struct mt76x02_dev *dev, void mt76x02_resync_beacon_timer(struct mt76x02_dev *dev) { - u32 timer_val = dev->beacon_int << 4; + u32 timer_val = dev->mt76.beacon_int << 4; dev->tbtt_count++; |