staging: rtl8723au: writeOFDMPowerReg() use rtl8723au_write32()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 5 Mar 2015 19:24:39 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 01:07:39 +0000 (17:07 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c

index 1aad4384471cfdc5befb5a1d70183a65e1e14dc3..32c58c6124b09630dc914b54d25fac2e3d2148be 100644 (file)
@@ -353,7 +353,7 @@ static void writeOFDMPowerReg(struct rtw_adapter *Adapter, u8 index,
                else
                        RegOffset = RegOffset_B[index];
 
-               PHY_SetBBReg(Adapter, RegOffset, bMaskDWord, writeVal);
+               rtl8723au_write32(Adapter, RegOffset, writeVal);
 
                /*  201005115 Joseph: Set Tx Power diff for Tx power
                    training mechanism. */