Skip to content

Commit 99d22c4

Browse files
committed
Add info instead of printk
1 parent 21268cd commit 99d22c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmwares/wifishield/wifiHD/src/ard_tcp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ static int udp_start(struct ttcp* ttcp) {
690690
return -1;
691691
}
692692

693-
printk("%s, upcb:%p %s:%d\n", __FUNCTION__, ttcp->upcb, ip2str(ttcp->addr), ttcp->port);
693+
INFO_TCP("%s, upcb:%p %s:%d\n", __FUNCTION__, ttcp->upcb, ip2str(ttcp->addr), ttcp->port);
694694
if (ttcp->mode == TTCP_MODE_TRANSMIT) {
695695
if (udp_connect(ttcp->upcb, &(ttcp->addr), ttcp->port) != ERR_OK) {
696696
WARN("TTCP [%p]: udp connect failed\n", ttcp);
@@ -708,7 +708,7 @@ static int udp_start(struct ttcp* ttcp) {
708708
setRemoteClient(ttcp->sock, 0, 0);
709709
udp_recv(ttcp->upcb, audp_recv_cb, ttcp);
710710
}
711-
printk("%s, loc:0x%x-%d rem:0x%x-%d\n", __FUNCTION__,
711+
INFO_TCP("%s, loc:0x%x-%d rem:0x%x-%d\n", __FUNCTION__,
712712
ttcp->upcb->local_ip.addr, ttcp->upcb->local_port,
713713
ttcp->upcb->remote_ip.addr, ttcp->upcb->remote_port);
714714
return 0;

0 commit comments

Comments
 (0)