]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: print warning on request_module failure
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 Apr 2013 08:35:23 +0000 (10:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 11:30:45 +0000 (13:30 +0200)
commita222d30c4afd1a6a107fba856bda479b03babbc3
tree2ab057a6879ac407f6e021551d358e43a0f60071
parentbb47e907e019109e7a09aacbbfef67f13fd5ab0d
iwlwifi: print warning on request_module failure

If request_module() failed then we didn't have the correct
opmode module that the driver needs to function, so print
a warning in this case to make it more obvious what could
be wrong. This still won't catch the case where the module
simply doesn't exist because it wasn't compiled though.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c