diff options
Diffstat (limited to 'drivers/net/macsec.c')
| -rw-r--r-- | drivers/net/macsec.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index 1b4d856f4bd7..700a8f96c6c2 100644 --- a/drivers/net/macsec.c +++ b/drivers/net/macsec.c @@ -2571,7 +2571,7 @@ static bool macsec_is_configured(struct macsec_dev *macsec)  	struct macsec_tx_sc *tx_sc = &secy->tx_sc;  	int i; -	if (secy->n_rx_sc > 0) +	if (secy->rx_sc)  		return true;  	for (i = 0; i < MACSEC_NUM_AN; i++)  | 
