diff options
author | Olof Sivertsson <olof.sivertsson@zenterio.com> | 2018-01-17 13:32:09 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-01-17 13:34:08 +0100 |
commit | fb749bf51a7855ee955fc221acdc51b94231db2b (patch) | |
tree | 46fc3e4061e8e6cc85a61888676c91d71a780f98 /iwinfo_cli.c | |
parent | 75c572074f272f0b983d888f7dd23ee59719c6b0 (diff) | |
download | iwinfo-fb749bf51a7855ee955fc221acdc51b94231db2b.tar.gz |
nl80211: do not block when driver aborts scan
Drivers may abort a scan by calling cfg80211_scan_done() with a struct
cfg80211_scan_info that sets aborted to true.
To avoid blocking forever consider both NL80211_CMD_NEW_SCAN_RESULTS
and NL80211_CMD_SCAN_ABORTED when waiting for scan results.
Tested with Broadcom's bcmdhd driver.
Signed-off-by: Olof Sivertsson <olof.sivertsson@zenterio.com>
[rebased on top of variadic nl80211_wait()]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'iwinfo_cli.c')
0 files changed, 0 insertions, 0 deletions