diff options
author | 2017-08-12 19:23:42 +0000 | |
---|---|---|
committer | 2017-08-12 19:23:42 +0000 | |
commit | 5d0f40978f857037e11a4cfdabc6c629cbc839fe (patch) | |
tree | d644f4f86cd73bcdeeb19a9935f038a51038c32b /lib/libssl/ssl_lib.c | |
parent | errant whitespace (diff) | |
download | wireguard-openbsd-5d0f40978f857037e11a4cfdabc6c629cbc839fe.tar.xz wireguard-openbsd-5d0f40978f857037e11a4cfdabc6c629cbc839fe.zip |
In iwm(4), instead of scheduling a task which calls ieee80211_end_scan(),
call ieee80211_end_scan() directly from interrupt context.
This extra task was already part of the original driver code from 2015 (but
with a workq instead of a task). Back then, the driver had to run two separate
scan commands in succession, for 2 GHz and then 5 GHz. Which is why a task
was used, since sending another command requires a sleepable context.
Nowadays, with our current firmware, a single scan command is sufficient
so there is no code path which needs to sleep when the scan ends.
ok mpi@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions