Moved the starting of the network stack into the driver (from the socket module)
to allow other protocols (like TCP) using the socket module. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19399 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -892,12 +892,14 @@ socket_std_ops(int32 op, ...)
|
||||
switch (op) {
|
||||
case B_MODULE_INIT:
|
||||
{
|
||||
// TODO: this is currently done in the net_stack driver
|
||||
// initialize the main stack if not done so already
|
||||
module_info *module;
|
||||
return get_module(NET_STARTER_MODULE_NAME, &module);
|
||||
//module_info *module;
|
||||
//return get_module(NET_STARTER_MODULE_NAME, &module);
|
||||
}
|
||||
case B_MODULE_UNINIT:
|
||||
return put_module(NET_STARTER_MODULE_NAME);
|
||||
//return put_module(NET_STARTER_MODULE_NAME);
|
||||
return B_OK;
|
||||
|
||||
default:
|
||||
return B_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user