diff options
author | 2012-06-10 17:09:22 +0300 | |
---|---|---|
committer | 2012-06-21 12:51:41 +0300 | |
commit | 66340e5b259bd7ca67cf0ca079dd3997fa198d4b (patch) | |
tree | e11c15268619ba6998b51cebf1496849932d7ddf /security/selinux/netlink.c | |
parent | wlcore: add a debugfs entry to allow changing the sleep mode by hand (diff) | |
download | wireguard-linux-66340e5b259bd7ca67cf0ca079dd3997fa198d4b.tar.xz wireguard-linux-66340e5b259bd7ca67cf0ca079dd3997fa198d4b.zip |
wlcore: allow setting sleep_auth before interface init
Hold a value for sta_sleep_auth that is amenable to change by debugfs.
When detecting a legal value in this variable on interface init, use it
as an override value for sleep_auth.
This makes debugging more intuitive using the debugfs value.
Increment the conf version since we added an element to the conf
structure.
Note: An AP going up will always set sleep_auth to PSM_CAM.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'security/selinux/netlink.c')
0 files changed, 0 insertions, 0 deletions