projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2def1
)
iwlagn: set default of uCode ownership to driver
author
Hsu, Kenny
<kenny.hsu@intel.com>
Thu, 7 Jul 2011 10:10:27 +0000
(
03:10
-0700)
committer
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Sat, 16 Jul 2011 14:38:18 +0000
(07:38 -0700)
The driver should take the ownership of the uCode as default setting
for later operations after interface up.
Signed-off-by: Kenny Hsu <kenny.hsu@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index d4a60105ab79df5202f16f706b68355e41d1e69b..d2ba2008798669b80424c27f4bebf70e7d5138c9 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/
drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@
-2346,6
+2346,8
@@
int iwlagn_start_device(struct iwl_priv *priv)
{
int ret;
+ priv->ucode_owner = IWL_OWNERSHIP_DRIVER;
+
if ((priv->cfg->sku & EEPROM_SKU_CAP_AMT_ENABLE) &&
iwl_prepare_card_hw(priv)) {
IWL_WARN(priv, "Exit HW not ready\n");