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>
This commit is contained in:
@@ -2346,6 +2346,8 @@ int iwlagn_start_device(struct iwl_priv *priv)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
priv->ucode_owner = IWL_OWNERSHIP_DRIVER;
|
||||||
|
|
||||||
if ((priv->cfg->sku & EEPROM_SKU_CAP_AMT_ENABLE) &&
|
if ((priv->cfg->sku & EEPROM_SKU_CAP_AMT_ENABLE) &&
|
||||||
iwl_prepare_card_hw(priv)) {
|
iwl_prepare_card_hw(priv)) {
|
||||||
IWL_WARN(priv, "Exit HW not ready\n");
|
IWL_WARN(priv, "Exit HW not ready\n");
|
||||||
|
Reference in New Issue
Block a user