| 43 | } |
| 44 | |
| 45 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, |
| 46 | void *arg) { |
| 47 | int *ret = reinterpret_cast<int *>(arg); |
| 48 | *ret = err->error; |
| 49 | get_logger()->warn("error_handler {}", err->error); |
| 50 | return NL_STOP; |
| 51 | } |
| 52 | |
| 53 | bool wifi::commandhelper2::set_wifi_up_down(const std::string &device, |
| 54 | bool up) { |
nothing calls this directly
no test coverage detected