1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-12-29 01:08:47 +00:00

Update rtw_recv.c

This commit is contained in:
Christian B 2017-12-17 12:25:08 +01:00 committed by GitHub
parent 399388ed30
commit e24a462e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4210,8 +4210,8 @@ void rtw_signal_stat_timer_hdl(RTW_TIMER_HDL_ARGS)
}
if (num_signal_strength == 0) {
if (rtw_get_on_cur_ch_time(padapter) == 0
|| rtw_get_passing_time_ms(rtw_get_on_cur_ch_time(padapter)) < 2 * padapter->mlmeextpriv.mlmext_info.bcn_interval
if (rtw_get_on_cur_ch_time(adapter) == 0
|| rtw_get_passing_time_ms(rtw_get_on_cur_ch_time(adapter)) < 2 * adapter->mlmeextpriv.mlmext_info.bcn_interval
)
goto set_timer;
}