]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Use proper enum defines
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 4 Dec 2014 21:15:45 +0000 (16:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 21:45:26 +0000 (13:45 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/usb_halinit.c

index ee17b2c966c4d78466b7183ac80f9b756026ae53..adbf1c2dd383ac9fd921e422b143bc40cb84e99c 100644 (file)
@@ -640,8 +640,10 @@ int rtl8723au_hal_init(struct rtw_adapter *Adapter)
        /*  */
        /*  Joseph Note: Keep RfRegChnlVal for later use. */
        /*  */
-       pHalData->RfRegChnlVal[0] = PHY_QueryRFReg(Adapter, (enum RF_RADIO_PATH)0, RF_CHNLBW, bRFRegOffsetMask);
-       pHalData->RfRegChnlVal[1] = PHY_QueryRFReg(Adapter, (enum RF_RADIO_PATH)1, RF_CHNLBW, bRFRegOffsetMask);
+       pHalData->RfRegChnlVal[0] = PHY_QueryRFReg(Adapter, RF_PATH_A,
+                                                  RF_CHNLBW, bRFRegOffsetMask);
+       pHalData->RfRegChnlVal[1] = PHY_QueryRFReg(Adapter, RF_PATH_B,
+                                                  RF_CHNLBW, bRFRegOffsetMask);
 
        if (!mac_on) {
                _InitQueueReservedPage(Adapter);