Add helper functions for cloning and freeing scan parameters

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-01-03 09:48:00 +02:00
parent 06f9acce18
commit dd43aaa509
3 changed files with 91 additions and 3 deletions

View file

@ -1,6 +1,6 @@
/*
* Driver interface definition
* Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi>
* Copyright (c) 2003-2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
@ -349,6 +349,12 @@ struct wpa_driver_scan_params {
* flush old cached BSS entries.
*/
int only_new_results;
/*
* NOTE: Whenever adding new parameters here, please make sure
* wpa_scan_clone_params() and wpa_scan_free_params() get updated with
* matching changes.
*/
};
/**