Commit d5d31ef0 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

driver: eth: enc424j600: Convert to use k_timeout_t



Convert the code to use k_timeout_t when applicable.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 15c16201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -385,7 +385,7 @@ static int enc424j600_rx(struct device *dev)
	/* Get the frame from the buffer */
	pkt = net_pkt_rx_alloc_with_buffer(context->iface, frm_len,
					   AF_UNSPEC, 0,
					   config->timeout);
					   K_MSEC(config->timeout));
	if (!pkt) {
		LOG_ERR("Could not allocate rx buffer");
		eth_stats_update_errors_rx(context->iface);