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)
commit1618b2b02a3a0ee7a6863fed4b0d22e697e7e97c
tree2ab057a6879ac407f6e021551d358e43a0f60071
parentd37cac98aba4a5c96142eab71785967feb73022f
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