fix module netproto alias for bluetooth
Subsystems (3)
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
@@ -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
@@ -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 );
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.