[Patch] drivers/net/wan/Config.in bug

Arjan van de Ven (arjan@fenrus.demon.nl)
Thu, 21 Oct 1999 19:44:09 +0200 (CEST)


Hi,

I propose the patch attached below, for drivers/net/Config.in.
It fixes the case where CONFIG_EXPERIMENTAL isn't set, which causes
CONFIG_LAPB not to be asked, which in turn causes CONFIG_LAPB to
be equal to "" instead of "n". (Kernel is 2.3.22, but 2.2.x has the same
problem and this patch should be applied there as well)

Greetings,
Arjan van de Ven

diff -u -r linux2322_clean/drivers/net/wan/Config.in linux/drivers/net/wan/Config.in
--- linux2322_clean/drivers/net/wan/Config.in Sat Oct 16 14:17:09 1999
+++ linux/drivers/net/wan/Config.in Sun Oct 17 21:51:02 1999
@@ -51,7 +51,7 @@
# X.25 network drivers

if [ "$CONFIG_X25" != "n" ]; then
- if [ "$CONFIG_LAPB" != "n" ]; then
+ if [ "$CONFIG_LAPB" = "y" -o "$CONFIG_LAPB" = "m" ]; then
dep_tristate 'LAPB over Ethernet driver' CONFIG_LAPBETHER $CONFIG_LAPB
dep_tristate 'X.25 async driver' CONFIG_X25_ASY $CONFIG_LAPB
fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/