Fix mistakes from 355a2df

This makes the driver work again for me
This commit is contained in:
Pascal Terjan
2022-11-15 23:01:08 +00:00
committed by Pascal Terjan
parent 23e06000d8
commit 58b5ea9b36
3 changed files with 5 additions and 5 deletions

View File

@@ -893,7 +893,7 @@ static u8 rtw_mesh_offch_cto_mgate_required(_adapter *adapter)
head = get_list_head(queue);
pos = get_next(head);
while (!head == pos) {
while (head != pos) {
scanned = LIST_CONTAINOR(pos, struct wlan_network, list);
if (rtw_get_passing_time_ms(scanned->last_scanned) < mcfg->peer_sel_policy.scanr_exp_ms
@@ -979,7 +979,7 @@ u8 rtw_mesh_select_operating_ch(_adapter *adapter)
head = get_list_head(queue);
pos = get_next(head);
while (!head == pos) {
while (head != pos) {
scanned = LIST_CONTAINOR(pos, struct wlan_network, list);
pos = get_next(pos);