Skip to content

Commit

Permalink
mac: fix core reset bits
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
Felix Fietkau committed Sep 27, 2015
1 parent f411f5b commit 1c70601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,11 @@ void mt76_mac_stop(struct mt76_dev *dev, bool force)
}

if (force && !stopped) {
mt76_set(dev, MT_BBP(CORE, 4), BIT(2));
mt76_clear(dev, MT_BBP(CORE, 4), BIT(2));

mt76_set(dev, MT_BBP(CORE, 4), BIT(1));
mt76_clear(dev, MT_BBP(CORE, 4), BIT(1));

mt76_set(dev, MT_BBP(CORE, 4), BIT(0));
mt76_clear(dev, MT_BBP(CORE, 4), BIT(0));
}

mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg);
Expand Down

0 comments on commit 1c70601

Please sign in to comment.