config: suppress error if no wireless config present (FS#1030)
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 6 Oct 2017 14:56:42 +0000 (16:56 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 6 Oct 2017 15:31:21 +0000 (17:31 +0200)
commit5df3f01a06b2710a8d8010f353db45b7507b15fb
treed90f73e79d478303a4048c1ffd55650a5eb43755
parent3429bd8e7e34454d32615134bb5a5b2f6d832935
config: suppress error if no wireless config present (FS#1030)

Wireless config is optional as not all targets have a wireless interface;
therefore don't report an error if the wireless config is missing so
network reload is not reporting an error to the user.
While at it use netifd_log_message to print an error if the config cannot
be loaded.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
config.c