lpc1768: Removed invalid use of IP_SOF_BROADCAST_RECV option

From opt.h:
IP_SOF_BROADCAST_RECV (requires IP_SOF_BROADCAST=1) enable the broadcast
filter on recv operations.

The IP_SOF_BROADCAST_RECV option does not enable or disable recieving
broadcast packets, it only enables a software filter.
pull/4060/head
Christopher Haster 2017-03-28 13:31:32 -05:00
parent cd7abc019f
commit 2918270222
1 changed files with 0 additions and 4 deletions

View File

@ -861,11 +861,7 @@ static err_t low_level_init(struct netif *netif)
return ERR_BUF;
/* Enable packet reception */
#if IP_SOF_BROADCAST_RECV
LPC_EMAC->RxFilterCtrl = EMAC_RFC_PERFECT_EN | EMAC_RFC_BCAST_EN | EMAC_RFC_MCAST_EN;
#else
LPC_EMAC->RxFilterCtrl = EMAC_RFC_PERFECT_EN;
#endif
/* Clear and enable rx/tx interrupts */
LPC_EMAC->IntClear = 0xFFFF;