Skip to content

Commit

Permalink
[BT] fix Bluetooth
Browse files Browse the repository at this point in the history
- first call wifi.sh or at least call
  wmt_loader + stp-uart-launcher
- then load BT-module “modprobe stp_chrdev_bt”
  • Loading branch information
alxchk authored and frank-w committed Jan 12, 2019
1 parent f49fc7a commit c060300
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/arm/configs/mt7623n_evb_fwu_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ CONFIG_NL80211_TESTMODE=y

#internal Bluetooth (also not working yet)
CONFIG_BT=y
#CONFIG_MTK_COMBO_BT=y
#CONFIG_MTK_COMBO_BT_HCI=y
CONFIG_MTK_COMBO_BT=m
CONFIG_MTK_COMBO_BT_HCI=y
#needed for BT?
#Bluetooth Classic (BR/EDR) features
CONFIG_BT_BREDR=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
int do_bluetooth_drv_init(int chip_id)
{
int i_ret = -1;

#if 0
#if defined(CONFIG_MTK_COMBO_BT) || defined(CONFIG_MTK_COMBO_BT_HCI)
WMT_DETECT_INFO_FUNC("start to do bluetooth driver init\n");
i_ret = mtk_wcn_stpbt_drv_init();
WMT_DETECT_INFO_FUNC("finish bluetooth driver init, i_ret:%d\n", i_ret);
#else
WMT_DETECT_INFO_FUNC("CONFIG_MTK_COMBO_BT is not defined\n");
#endif
#endif
return i_ret;
}
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,8 @@ static void BT_exit(void)
BT_INFO_FUNC("%s driver removed\n", BT_DRIVER_NAME);
}

#ifdef MTK_WCN_REMOVE_KERNEL_MODULE
#if 0
//#ifdef MTK_WCN_REMOVE_KERNEL_MODULE

int mtk_wcn_stpbt_drv_init(void)
{
Expand Down

0 comments on commit c060300

Please sign in to comment.