cover up the landmine until there's a proper solution
This commit is contained in:
parent
e9948397f9
commit
472f08ca8f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138777
@ -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 New Issue
Block a user