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.
This commit is contained in:
parent
be8be6717d
commit
207ef3fb12
11 changed files with 126 additions and 5 deletions
|
@ -1731,6 +1731,18 @@ struct wpa_driver_ops {
|
|||
* normal station operations like scanning to be completed.
|
||||
*/
|
||||
int (*deinit_ap)(void *priv);
|
||||
|
||||
/**
|
||||
* suspend - Notification on system suspend/hibernate event
|
||||
* @priv: Private driver interface data
|
||||
*/
|
||||
void (*suspend)(void *priv);
|
||||
|
||||
/**
|
||||
* resume - Notification on system resume/thaw event
|
||||
* @priv: Private driver interface data
|
||||
*/
|
||||
void (*resume)(void *priv);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue