Skip to contentSkip to conversation

fix module netproto alias for bluetooth

PATCH In review Stephen Hemminger 2 participants 2 messages Dec 10, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix module netproto alias for bluetooth

In 2.6.0-test11 the net-pf-31 alias gets associated with the bnep module rather than the bluetooth module that actually handles the protocol. It is mostly works because bnep depends on bluetooth so it gets loaded.

net/bluetooth/af_bluetooth.c +1 -0
diff -Nru a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c
@@ -361,3 +361,4 @@
 MODULE_AUTHOR("Maxim Krasnyansky <[email protected]>");
 MODULE_DESCRIPTION("Bluetooth Core ver " VERSION);
 MODULE_LICENSE("GPL");
+MODULE_ALIAS_NETPROTO(PF_BLUETOOTH);
net/bluetooth/bnep/core.c +0 -1
diff -Nru a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c
@@ -707,4 +707,3 @@
 MODULE_DESCRIPTION("Bluetooth BNEP ver " VERSION);
 MODULE_AUTHOR("David Libault <[email protected]>, Maxim Krasnyanskiy <[email protected]>");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS_NETPROTO(PF_BLUETOOTH);
#1 lore raw
Quoted 3 lines · On Wed, 10 Dec 2003 15:58:36 -0800 Stephen Hemminger <[email protected]>…

In 2.6.0-test11 the net-pf-31 alias gets associated with the bnep module rather than the bluetooth module that actually handles the protocol. It is mostly works because bnep depends on bluetooth so it gets loaded.

Good catch, patch applied.

Thanks.