mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:55:19 +02:00
tools/lib/atrf.c (select_driver): "default" selects the default driver
This commit is contained in:
parent
c4167d8df4
commit
a15ab43b1c
@ -123,9 +123,8 @@ static const struct atrf_driver *select_driver(const char *arg,
|
||||
}
|
||||
|
||||
*opt = NULL;
|
||||
if (!arg) {
|
||||
if (!arg || !strcmp(arg, "default"))
|
||||
return *drivers;
|
||||
}
|
||||
|
||||
end = strchr(arg, ':');
|
||||
if (!end)
|
||||
|
Loading…
Reference in New Issue
Block a user