aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-03 07:48:00 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-05 20:35:52 (GMT)
commitdd43aaa5098f4ef9bce5263f94e8197b0df266c9 (patch)
treeb5bd3c4f7597377b6b2876704f9c5887b62d5e60 /src
parent06f9acce189b20daee8fe8fd46cd849425304130 (diff)
downloadhostap-dd43aaa5098f4ef9bce5263f94e8197b0df266c9.zip
hostap-dd43aaa5098f4ef9bce5263f94e8197b0df266c9.tar.gz
hostap-dd43aaa5098f4ef9bce5263f94e8197b0df266c9.tar.bz2
Add helper functions for cloning and freeing scan parameters
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 4e5ab34..999af51 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -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.
+ */
};
/**