mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
net: correct wget_connected debug messages
* Remove duplicate debug message in wget_connected() * Correct typo 'Connctd' Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
8014fabb5d
commit
ea2515fdb8
1 changed files with 2 additions and 6 deletions
|
@ -248,7 +248,7 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
|
||||||
wget_send(action, tcp_seq_num, tcp_ack_num, len);
|
wget_send(action, tcp_seq_num, tcp_ack_num, len);
|
||||||
} else {
|
} else {
|
||||||
debug_cond(DEBUG_WGET,
|
debug_cond(DEBUG_WGET,
|
||||||
"wget: Connctd pkt %p hlen %x\n",
|
"wget: Connected Pkt %p hlen %x\n",
|
||||||
pkt, hlen);
|
pkt, hlen);
|
||||||
|
|
||||||
pos = strstr((char *)pkt, content_len);
|
pos = strstr((char *)pkt, content_len);
|
||||||
|
@ -273,10 +273,6 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debug_cond(DEBUG_WGET,
|
|
||||||
"wget: Connected Pkt %p hlen %x\n",
|
|
||||||
pkt, hlen);
|
|
||||||
|
|
||||||
for (i = 0; i < pkt_q_idx; i++) {
|
for (i = 0; i < pkt_q_idx; i++) {
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
|
@ -288,7 +284,7 @@ static void wget_connected(uchar *pkt, unsigned int tcp_seq_num,
|
||||||
pkt_q[i].len);
|
pkt_q[i].len);
|
||||||
unmap_sysmem(ptr1);
|
unmap_sysmem(ptr1);
|
||||||
debug_cond(DEBUG_WGET,
|
debug_cond(DEBUG_WGET,
|
||||||
"wget: Connctd pkt Q %p len %x\n",
|
"wget: Conncted pkt Q %p len %x\n",
|
||||||
pkt_q[i].pkt, pkt_q[i].len);
|
pkt_q[i].pkt, pkt_q[i].len);
|
||||||
if (err) {
|
if (err) {
|
||||||
wget_loop_state = NETLOOP_FAIL;
|
wget_loop_state = NETLOOP_FAIL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue