[PATCH] net/pppoe: fix a typo for the PPPOE_HASH_BITS_1 definition

From: Lukas Bulwahn
Date: Mon Jun 05 2023 - 03:28:40 EST


Instead of its intention to define PPPOE_HASH_BITS_1, commit 96ba44c637b0
("net/pppoe: make number of hash bits configurable") actually defined
config PPPOE_HASH_BITS_2 twice in the ppp's Kconfig file due to a quick
typo with the numbers.

Fix the typo and define PPPOE_HASH_BITS_1.

Fixes: 96ba44c637b0 ("net/pppoe: make number of hash bits configurable")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
---
drivers/net/ppp/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ppp/Kconfig b/drivers/net/ppp/Kconfig
index 2fbcae31fc02..8c9ed1889d1a 100644
--- a/drivers/net/ppp/Kconfig
+++ b/drivers/net/ppp/Kconfig
@@ -141,7 +141,7 @@ choice

This hash table is on a per outer ethernet interface.

-config PPPOE_HASH_BITS_2
+config PPPOE_HASH_BITS_1
bool "1 bit (2 buckets)"

config PPPOE_HASH_BITS_2
--
2.17.1