Commit 937aa3ae authored by Edward Cree's avatar Edward Cree Committed by David S. Miller
Browse files

sfc: initialise max_[tx_]channels in efx_init_channels()

parent 20e1026c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -566,6 +566,9 @@ int efx_init_channels(struct efx_nic *efx)
	efx->interrupt_mode = min(efx->type->min_interrupt_mode,
				  interrupt_mode);

	efx->max_channels = EFX_MAX_CHANNELS;
	efx->max_tx_channels = EFX_MAX_CHANNELS;

	return 0;
}