]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: don't print module loading error if not modular
authorJohannes Berg <johannes.berg@intel.com>
Tue, 28 May 2013 19:32:47 +0000 (21:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 11:12:07 +0000 (13:12 +0200)
commita07b2c5a19b4900d73b80d9a5877a7ebfd3f5353
treefc54b2e15e868fe317ae2a0a0b7c1b712c6ebf06
parent42c38703f3d3fb62ce3adedddbe0aabb5c77bc1f
iwlwifi: don't print module loading error if not modular

If the opmode modules aren't modular, there's no point in
printing an error message that request_module() failed.
This will happen because the probe runs during iwlwifi's
init and the opmode is only added during its init.

Reported-by: Jörg Otte <jrg.otte@gmail.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c