aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-02-27 16:46:02 (GMT)
committerJouni Malinen <j@w1.fi>2010-02-27 16:46:02 (GMT)
commit207ef3fb12b713e9432d0eca81d0632c124ee271 (patch)
treeb41a27b6d443e24d88e7b250a6075cc45c8083ad /wpa_supplicant/wpa_supplicant_i.h
parentbe8be6717d0fc9568b436826453ed8541a017f5b (diff)
downloadhostap-207ef3fb12b713e9432d0eca81d0632c124ee271.zip
hostap-207ef3fb12b713e9432d0eca81d0632c124ee271.tar.gz
hostap-207ef3fb12b713e9432d0eca81d0632c124ee271.tar.bz2
Add suspend/resume notifications
wpa_supplicant can now be notified of suspend/resume events, e.g., from pm-action scripts. This allows wpa_supplicant to clear information that may become invalid during a suspend operation.
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index c96fd3b..bc56517 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -1,6 +1,6 @@
/*
* wpa_supplicant - Internal definitions
- * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -194,6 +194,7 @@ struct wpa_global {
struct wpas_dbus_priv *dbus;
void **drv_priv;
size_t drv_count;
+ struct os_time suspend_time;
};