convert-modeswitch.pl: fix message indices
Avoid treating index 0 the same way as not defined.
Signed-off-by: Felix Fietkau <[email protected]>
Extend StandardEject sequence to include LUN 1
this is for eject handling of dongles based on
Mediatek's cellular baseband processors which has a TF/SD card reader on
LUN 0 of the USB storage interface and the virtual cd-rom (which we want
to eject) on LUN 1. The previous StandardEject sequence did only work
for LUN 0, the new sequence will work for both LUN's.
Signed-off-by: Benjamin Berg <[email protected]>
Signed-off-by: René van Weert <[email protected]>
Reviewed-by: Lars Melin <[email protected]>
cmake: Search for libjson-c
Since we use libblobmsg_json which uses libjson-c internally, make sure we find
this library.
Signed-off-by: Florian Fainelli <[email protected]>
cmake: Find libubox/blobmsg_json.h
Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for
libubox/blobmsg_json.h. Some external toolchains which do not include standard
locations would fail to find the header otherwise.
Signed-off-by: Florian Fainelli <[email protected]>
recognize the HuaeiNewMode and StandardEject options
Signed-off-by: John Crispin <[email protected]>