File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ cc_library_shared {
30
30
31
31
cflags : [
32
32
" -DBT_SOC_TYPE_ROME" ,
33
- " -Wno-error " ,
33
+ " -Werror " ,
34
34
],
35
35
36
36
srcs : [
Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ cc_library_shared {
30
30
31
31
cflags : [
32
32
" -Werror" ,
33
- " -Wno-error=user-defined-warnings" ,
34
- " -Wno-incompatible-pointer-types-discards-qualifiers" ,
35
- " -Wno-unused-function" ,
36
- " -Wno-unused-label" ,
37
- " -Wno-unused-variable" ,
38
33
],
39
34
40
35
srcs : [
Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ static int bt_powerup(int en )
480
480
481
481
if (q .soc_type >= BT_SOC_CHEROKEE && q .soc_type < BT_SOC_RESERVED ) {
482
482
ALOGI ("open bt power devnode,send ioctl power op :%d " ,en );
483
- fd_btpower = open (BT_PWR_CNTRL_DEVICE , O_RDWR , O_NONBLOCK );
483
+ fd_btpower = open (BT_PWR_CNTRL_DEVICE , O_RDWR | O_NONBLOCK );
484
484
if (fd_btpower < 0 ) {
485
485
ALOGE ("\nfailed to open bt device error = (%s)\n" ,strerror (errno ));
486
486
#ifdef WIFI_BT_STATUS_SYNC
You can’t perform that action at this time.
0 commit comments