mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove function rtw_end_of_queue_search()
Port of 84660700807cbcd649c58ff8ce7f65021765b15c
This commit is contained in:
@@ -1423,7 +1423,7 @@ static int retrieve_scan_result(struct rm_obj *prm)
|
||||
/* search scan queue to find requested SSID */
|
||||
while (1) {
|
||||
|
||||
if (rtw_end_of_queue_search(phead, plist) == _TRUE)
|
||||
if (phead == plist)
|
||||
break;
|
||||
|
||||
pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list);
|
||||
@@ -2050,7 +2050,7 @@ void rm_dbg_list_sta(_adapter *padapter, char *s)
|
||||
phead = &(pstapriv->sta_hash[i]);
|
||||
plist = get_next(phead);
|
||||
|
||||
while ((rtw_end_of_queue_search(phead, plist)) == _FALSE) {
|
||||
while (phead != plist) {
|
||||
psta = LIST_CONTAINOR(plist,
|
||||
struct sta_info, hash_list);
|
||||
|
||||
@@ -2106,7 +2106,7 @@ struct sta_info *rm_get_sta(_adapter *padapter, u16 aid, u8* pbssid)
|
||||
phead = &(pstapriv->sta_hash[i]);
|
||||
plist = get_next(phead);
|
||||
|
||||
while ((rtw_end_of_queue_search(phead, plist)) == _FALSE) {
|
||||
while (phead != plist) {
|
||||
psta = LIST_CONTAINOR(plist,
|
||||
struct sta_info, hash_list);
|
||||
|
||||
@@ -2395,7 +2395,7 @@ static void rm_dbg_list_meas(_adapter *padapter, char *s)
|
||||
plist = get_next(phead);
|
||||
meas_amount = 0;
|
||||
|
||||
while ((rtw_end_of_queue_search(phead, plist)) == _FALSE) {
|
||||
while (phead != plist) {
|
||||
prm = LIST_CONTAINOR(plist, struct rm_obj, list);
|
||||
meas_amount++;
|
||||
plist = get_next(plist);
|
||||
|
||||
Reference in New Issue
Block a user