mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 09:06:49 -04:00
cover up the landmine until there's a proper solution
This commit is contained in:
parent
e9948397f9
commit
472f08ca8f
1 changed files with 4 additions and 0 deletions
|
|
@ -300,6 +300,7 @@ ieee80211_notify_michael_failure(struct ieee80211com *ic,
|
|||
void
|
||||
ieee80211_load_module(const char *modname)
|
||||
{
|
||||
#ifdef notyet
|
||||
struct thread *td = curthread;
|
||||
|
||||
if (suser(td) == 0 && securelevel_gt(td->td_ucred, 0) == 0) {
|
||||
|
|
@ -307,6 +308,9 @@ ieee80211_load_module(const char *modname)
|
|||
(void) linker_load_module(modname, NULL, NULL, NULL, NULL);
|
||||
mtx_unlock(&Giant);
|
||||
}
|
||||
#else
|
||||
printf("%s: load the %s module by hand for now.\n", __func__, modname);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue