From b0d39e2a8a038127e7bf0cce4ecb416f43f1387d Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Wed, 3 Feb 2010 23:43:57 +0100 Subject: [PATCH] Enable 2. Tx path during initialization --- rt2870.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/rt2870.c b/rt2870.c index 8c8b252..5efce50 100644 --- a/rt2870.c +++ b/rt2870.c @@ -1313,16 +1313,12 @@ static void rt2870_init_locked(void *priv) tmp = rt2870_io_bbp_read(sc, 1); - if (sc->ntxpath == 1) - tmp &= ~((1 << 4) | (1 << 3)); - - rt2870_io_bbp_write(sc, 1, tmp); - - tmp = rt2870_io_bbp_read(sc, 4); + tmp &= ~((1 << 4) | (1 << 3)); - tmp &= ~0x18; + if (sc->ntxpath == 2) + tmp |= (1 << 4); - rt2870_io_bbp_write(sc, 4, tmp); + rt2870_io_bbp_write(sc, 1, tmp); /* set current channel */ -- 2.11.4.GIT