brcm47xx: improve suppressing printing if a module was found in preinit function.

Thank you Bastian Bittorf

SVN-Revision: 34680
This commit is contained in:
Hauke Mehrtens 2012-12-14 22:45:12 +00:00
parent 86cd825c1f
commit 4901ac8225

View File

@ -21,7 +21,7 @@ check_module () {
insmod "$module" "$params"
sleep 1
grep "^$module" /proc/modules > /dev/null
grep -q ^"$module " /proc/modules
return $?
}