lwip: rework according review comments

This commit is contained in:
Liu Zhi Fu
2017-01-05 12:22:49 +08:00
parent be994740b4
commit d98b99f4f0
5 changed files with 14 additions and 7 deletions

View File

@@ -219,7 +219,7 @@ tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
msg->msg.inp.p = p;
msg->msg.inp.netif = inp;
msg->msg.inp.input_fn = input_fn;
#ifdef ESP_PERF
#if ESP_PERF
if (p->len > DBG_PERF_FILTER_LEN) {
DBG_PERF_PATH_SET(DBG_PERF_DIR_RX, DBG_PERF_POINT_WIFI_OUT);
}