tests: Check for mac80211_hwsim module before loading it
Instead of checking if the kernel allows modules (via the presence of /proc/modules), check if mac80211_hwsim is already there and load it only if not. This gets rid of some ugly prints from modprobe in case code isn't even a module and cannot be found, etc. Signed-off-by: Johannes Berg <johannes.berg@intel.com>master
parent
4dd712bd36
commit
2f9e2f9044
Loading…
Reference in New Issue