summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHsu, Kenny <kenny.hsu@intel.com>2011-07-07 12:10:27 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-16 16:38:18 +0200
commit6ff88a6414364d75ebd514d1efa11fbba603ac04 (patch)
treeb6fb8d61e3b95d2528043cd6184a8393034a681e
parentiwlagn: simplify TX flags assignments (diff)
downloadlinux-6ff88a6414364d75ebd514d1efa11fbba603ac04.tar.xz
linux-6ff88a6414364d75ebd514d1efa11fbba603ac04.zip
iwlagn: set default of uCode ownership to driver
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>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index d4a60105ab79..d2ba20087986 100644
--- 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");