aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-12-19 16:49:32 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-19 16:49:57 (GMT)
commitca9968a0129927c916081817a2e4c187e79a47fc (patch)
treed6660e57d90292003594fb221ea0060b265b6cae /wpa_supplicant/wpa_supplicant_i.h
parent446dd7486c14b5f67c73f26c22347195fad8afda (diff)
downloadhostap-ca9968a0129927c916081817a2e4c187e79a47fc.zip
hostap-ca9968a0129927c916081817a2e4c187e79a47fc.tar.gz
hostap-ca9968a0129927c916081817a2e4c187e79a47fc.tar.bz2
HS 2.0: Convert icon storage to use dl_list
This simplifies the list operations quite a bit. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 7e52020..7b74f38 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -426,7 +426,7 @@ enum wpa_supplicant_test_failure {
};
struct icon_entry {
- struct icon_entry *next;
+ struct dl_list list;
u8 bssid[ETH_ALEN];
u8 dialog_token;
char *file_name;
@@ -914,7 +914,7 @@ struct wpa_supplicant {
unsigned int fetch_osu_icon_in_progress:1;
struct wpa_bss *interworking_gas_bss;
unsigned int osu_icon_id;
- struct icon_entry *icon_head;
+ struct dl_list icon_head; /* struct icon_entry */
struct osu_provider *osu_prov;
size_t osu_prov_count;
struct os_reltime osu_icon_fetch_start;