diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/core.c')
-rw-r--r-- | drivers/net/wireless/ath9k/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/core.c b/drivers/net/wireless/ath9k/core.c index c262ef279ff3..690f7c56af3d 100644 --- a/drivers/net/wireless/ath9k/core.c +++ b/drivers/net/wireless/ath9k/core.c | |||
@@ -534,7 +534,8 @@ int ath_vap_attach(struct ath_softc *sc, | |||
534 | avp->av_opmode = opmode; | 534 | avp->av_opmode = opmode; |
535 | avp->av_bslot = -1; | 535 | avp->av_bslot = -1; |
536 | 536 | ||
537 | ath9k_hw_set_tsfadjust(sc->sc_ah, 1); | 537 | if (opmode == ATH9K_M_HOSTAP) |
538 | ath9k_hw_set_tsfadjust(sc->sc_ah, 1); | ||
538 | 539 | ||
539 | sc->sc_vaps[if_id] = avp; | 540 | sc->sc_vaps[if_id] = avp; |
540 | sc->sc_nvaps++; | 541 | sc->sc_nvaps++; |