diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-01-24 14:52:20 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-01-31 11:59:26 +1100 |
commit | 6fab22db693aaf495b8be0699e6d177ba69d79ed (patch) | |
tree | 0d4fe2cbfdcc68e5218bb35e7710072bdda91051 /lib/pb-protocol | |
parent | 58b86dca9e65824e8fd25df58794a88ac31ab01f (diff) | |
download | petitboot-6fab22db693aaf495b8be0699e6d177ba69d79ed.zip petitboot-6fab22db693aaf495b8be0699e6d177ba69d79ed.tar.gz |
discover/device-handler: Process queue after device added
In device_handler_discover() we process the unresolved boot options
queue first. However the discover_device in question has not yet been
added to handler->devices so when a parser tries to search for a
matching device it will fail.
The discover_device will be added to the handler if it has not already
in device_handler_discover_context_commit() so move the call to
process_boot_option_queue() after it.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/pb-protocol')
0 files changed, 0 insertions, 0 deletions