project/app/rkipc/rkipc/common/network/network.c : Cancel the status monitoring for wlan0 and usb0
Signed-off-by: eng29 <eng29@luckfox.com>
This commit is contained in:
parent
b2dbfaa7b2
commit
5ade45544e
|
|
@ -696,6 +696,13 @@ int rk_network_get_cable_state() {
|
|||
ifinfo = NLMSG_DATA(nh);
|
||||
|
||||
if_indextoname(ifinfo->ifi_index, name);
|
||||
if (strcmp(name, "usb0") == 0) {
|
||||
continue;
|
||||
}
|
||||
if (strcmp(name, "wlan0") == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
LOG_INFO("\n[%s] link %s\n", name, (ifinfo->ifi_flags & IFF_LOWER_UP) ? "up" : "down");
|
||||
|
||||
memset(cmd1, 0, 32);
|
||||
|
|
|
|||
Loading…
Reference in New Issue