mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
pc/wifi: do not execute driver on user stack
The 'with_libc' call at this point is not necessary and could be harmful as it forces the usage of the user stack for the driver. All code depending on this distinction should only be executed from within the pthread. Issue #4537.
This commit is contained in:
committed by
Christian Helmuth
parent
a90abbc22e
commit
1ca2265fd4
@@ -110,8 +110,6 @@ struct Main
|
||||
}
|
||||
};
|
||||
|
||||
static Main *_main;
|
||||
|
||||
|
||||
/**
|
||||
* Return shared-memory message buffer
|
||||
@@ -126,8 +124,5 @@ void *wifi_get_buffer(void)
|
||||
|
||||
void Libc::Component::construct(Libc::Env &env)
|
||||
{
|
||||
Libc::with_libc([&] () {
|
||||
static Main server(env);
|
||||
_main = &server;
|
||||
});
|
||||
static Main server(env);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user