diff --git a/core/efuse/rtw_efuse.c b/core/efuse/rtw_efuse.c index 44d8ac4..cca0261 100644 --- a/core/efuse/rtw_efuse.c +++ b/core/efuse/rtw_efuse.c @@ -778,13 +778,14 @@ void rtw_efuse_analyze(PADAPTER padapter, u8 Type, u8 Fake) j = 0; for (i = 0; i < mapLen; i++) { - if (i % 16 == 0) + if (i % 16 == 0) { RTW_PRINT_SEL(RTW_DBGDUMP, "0x%03x: ", i); _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s" , pEfuseHal->fakeEfuseInitMap[i] , ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " ") ); } + } _RTW_PRINT_SEL(RTW_DBGDUMP, "\n"); out_free_buffer: diff --git a/core/rtw_mlme.c b/core/rtw_mlme.c index 8cc28c6..db2998c 100644 --- a/core/rtw_mlme.c +++ b/core/rtw_mlme.c @@ -3193,10 +3193,11 @@ void rtw_drv_scan_by_self(_adapter *padapter, u8 reason) #ifdef CONFIG_LAYER2_ROAMING if (rtw_chk_roam_flags(padapter, RTW_ROAM_ACTIVE) && pmlmepriv->need_to_roam == _TRUE) RTW_INFO(FUNC_ADPT_FMT" need to roam, don't care BusyTraffic\n", FUNC_ADPT_ARG(padapter)); - else + else { #endif RTW_INFO(FUNC_ADPT_FMT" exit BusyTraffic\n", FUNC_ADPT_ARG(padapter)); goto exit; + } } else if (ssc_chk != SS_ALLOW) goto exit; diff --git a/core/rtw_rf.c b/core/rtw_rf.c index 66630f4..6d827c3 100644 --- a/core/rtw_rf.c +++ b/core/rtw_rf.c @@ -772,9 +772,10 @@ void dump_txpwr_lmt(void *sel, _adapter *adapter) RTW_PRINT_SEL(sel, "txpwr_lmt_2g_cck_ofdm_state:0x%02x\n", rfctl->txpwr_lmt_2g_cck_ofdm_state); #ifdef CONFIG_IEEE80211_BAND_5GHZ - if (IS_HARDWARE_TYPE_JAGUAR_AND_JAGUAR2(adapter)) + if (IS_HARDWARE_TYPE_JAGUAR_AND_JAGUAR2(adapter)) { RTW_PRINT_SEL(sel, "txpwr_lmt_5g_cck_ofdm_state:0x%02x\n", rfctl->txpwr_lmt_5g_cck_ofdm_state); RTW_PRINT_SEL(sel, "txpwr_lmt_5g_20_40_ref:0x%02x\n", rfctl->txpwr_lmt_5g_20_40_ref); + } #endif RTW_PRINT_SEL(sel, "\n"); diff --git a/core/rtw_wlan_util.c b/core/rtw_wlan_util.c index c54f771..8172459 100644 --- a/core/rtw_wlan_util.c +++ b/core/rtw_wlan_util.c @@ -3223,12 +3223,13 @@ void rtw_parse_sta_vendor_ie_8812(_adapter *adapter, struct sta_info *sta, u8 *t goto exit; else { if(*(p+1) > 6 ) { - for(i=0; i<9;i++) + for(i=0; i<9;i++) { RTW_INFO("p[%d]=0x%x",i,*(p+i) ); RTW_INFO("\n"); + } if(*(p+6) != 2) goto exit; - + if(*(p+8) == RT_HT_CAP_USE_JAGUAR_BCUT) sta->vendor_8812 = TRUE; else if (*(p+8) == RT_HT_CAP_USE_JAGUAR_CCUT)