]> 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)
commitb1c2aa30f9e087e81923db2dbbb31f0bb43b5926
tree2ab057a6879ac407f6e021551d358e43a0f60071
parentb2d90cd83a01b51c0a6c101e9f228adcc6c16c6c
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