staging: rtl8723au: Rename BT_LpsLeave() rtl8723a_BT_lps_leave()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:31 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:43 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h

index 0f837fa3820ed4f4cbdf915837d0bb7397ad2ae8..646b59b28551696feb1d3ffd46c124b3d11575ba 100644 (file)
@@ -1088,13 +1088,9 @@ static void lps_ctrl_wk_hdl(struct rtw_adapter *padapter, u8 lps_ctrl_type)
                                LPS_Leave23a(padapter);
                        break;
                case LPS_CTRL_LEAVE:
-#ifdef CONFIG_8723AU_BT_COEXIST
-                       BT_LpsLeave(padapter);
-                       if (rtl8723a_BT_using_antenna_1(padapter) == false)
-#endif
-                       {
+                       rtl8723a_BT_lps_leave(padapter);
+                       if (!rtl8723a_BT_using_antenna_1(padapter))
                                LPS_Leave23a(padapter);
-                       }
                        break;
 
                default:
index f00313b9cc89730c4c47c0f678dd940377291d43..9891a2f70cb2958eecf70b5e4b0b955c7f155b01 100644 (file)
@@ -161,11 +161,6 @@ void BT_HaltProcess(struct rtw_adapter *padapter)
        BTDM_ForHalt(padapter);
 }
 
-void BT_LpsLeave(struct rtw_adapter *padapter)
-{
-       BTDM_LpsLeave(padapter);
-}
-
 /*  ===== End of sync from SD7 driver COMMOM/BT.c ===== */
 
 #define i64fmt         "ll"
@@ -9728,7 +9723,7 @@ BTDM_Set8723ABtCoexCurrAntNum(struct rtw_adapter *padapter, u8 antNum)
                pBtCoex->TotalAntNum = Ant_x2;
 }
 
-void BTDM_LpsLeave(struct rtw_adapter *padapter)
+void rtl8723a_BT_lps_leave(struct rtw_adapter *padapter)
 {
        struct bt_30info *pBTInfo = GET_BT_INFO(padapter);
        struct bt_mgnt *pBtMgnt = &pBTInfo->BtMgnt;
index 52e17329bc48c1a7bb67e431f178893c4b2cb985..1b2845e67513fb984312a5ef406e2cb7373fa64f 100644 (file)
@@ -28,6 +28,7 @@ void rtl8723a_BT_wifiscan_notify(struct rtw_adapter *padapter, u8 scanType);
 void rtl8723a_BT_mediastatus_notify(struct rtw_adapter *padapter,
                                    enum rt_media_status mstatus);
 void rtl8723a_BT_specialpacket_notify(struct rtw_adapter *padapter);
+void rtl8723a_BT_lps_leave(struct rtw_adapter *padapter);
 #else
 static inline bool rtl8723a_BT_using_antenna_1(struct rtw_adapter *padapter)
 {
@@ -45,6 +46,7 @@ static inline bool rtl8723a_BT_coexist(struct rtw_adapter *padapter)
 #define rtl8723a_BT_wifiscan_notify(padapter, scanType)                do {} while(0)
 #define rtl8723a_BT_mediastatus_notify(padapter, mstatus)      do {} while(0)
 #define rtl8723a_BT_specialpacket_notify(padapter)             do {} while(0)
+#define rtl8723a_BT_lps_leave(padapter)                                do {} while(0)
 #endif
 
 #endif
This page took 0.030709 seconds and 5 git commands to generate.