diff options
author | 2012-06-10 19:10:45 +0300 | |
---|---|---|
committer | 2012-06-21 12:51:55 +0300 | |
commit | 2f18cf7c3b99779465def78318b4243d1f66cce8 (patch) | |
tree | da9cce7ea0444ef26b84efc15337fcd09888b0b6 /security/selinux/netlink.c | |
parent | wlcore: allow setting sleep_auth before interface init (diff) | |
download | wireguard-linux-2f18cf7c3b99779465def78318b4243d1f66cce8.tar.xz wireguard-linux-2f18cf7c3b99779465def78318b4243d1f66cce8.zip |
wlcore: reconfigure sleep_auth when removing interfaces
The sleep_auth value of the last interface to be set up prevailed when
an interface was removed. Take care of this by correctly configuring the
value according to the remaining STA/AP interfaces.
Take this opportunity to refactor the sleep_auth setting code for better
readability.
[Small style fix. -- Luca]
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