aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-05-15 17:08:54 +0300
committerLuciano Coelho <coelho@ti.com>2012-06-05 17:16:08 +0300
commit6b8bf5bc5e99f52334bec1b06b14d28dc595c95a (patch)
treedce70af33853e584eed256952b7dbbcc55098eef /net/unix/sysctl_net_unix.c
parent6e066921b3970232d5faadcdf33a92f43ec84334 (diff)
wlcore: fixes for connection_loss_work
We can't use cancel_delayed_work_sync() from functions that take the wl->mutex, since connection_loss_work also takes the mutex. This might result in a deadlock. Restructure the code so the work is synchronously canceled before taking the mutex. Avoid a bug where we would indefinitely delay the connection loss indication by re-queuing the connection loss work on consecutive beacon loss events. Cc: bartosz.markowski <bartosz.markowski@tieto.com> Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions