[net][netdev] Delete network commands interrupt disable processing

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong
2019-07-03 10:49:19 +08:00
parent 48857d1e67
commit dcd8b8029b
5 changed files with 19 additions and 34 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ struct netdev_ops
int (*set_dns_server)(struct netdev *netdev, uint8_t dns_num, ip_addr_t *dns_server);
int (*set_dhcp)(struct netdev *netdev, rt_bool_t is_enabled);
#ifdef FINSH_USING_MSH
#ifdef RT_USING_FINSH
/* set network interface device common network interface device operations */
int (*ping)(struct netdev *netdev, const char *host, size_t data_len, uint32_t timeout, struct netdev_ping_resp *ping_resp);
void (*netstat)(struct netdev *netdev);