projects
/
project
/
usteer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usteer: add option for probe steering
[project/usteer.git]
/
policy.c
diff --git
a/policy.c
b/policy.c
index e6dc9e1948b2028d72fdb0ddd8b1668fe566e31f..9d62b780688efb82e35cf6300f8bb789b8e94843 100644
(file)
--- a/
policy.c
+++ b/
policy.c
@@
-176,6
+176,9
@@
usteer_check_request(struct sta_info *si, enum usteer_event_type type)
int min_signal;
bool ret = true;
+ if (type == EVENT_TYPE_PROBE && !config.probe_steering)
+ goto out;
+
if (type == EVENT_TYPE_AUTH)
goto out;