Skip to content

Commit

Permalink
iwlagn: set default of uCode ownership to driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hsu, Kenny authored and Wey-Yi Guy committed Jul 16, 2011
1 parent 2c2def1 commit 6ff88a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-agn-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6ff88a6

Please sign in to comment.