iwlwifi: mvm: implement UMAC scan API
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / mvm / fw.c
index f12b43d65f66884851699c65c19f1f4364013e62..b4f244f510ed2aaf0917d035667b15a9316183f5 100644 (file)
@@ -505,6 +505,12 @@ int iwl_mvm_up(struct iwl_mvm *mvm)
        if (ret)
                goto error;
 
+       if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) {
+               ret = iwl_mvm_config_scan(mvm);
+               if (ret)
+                       goto error;
+       }
+
        /* allow FW/transport low power modes if not during restart */
        if (!test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status))
                iwl_mvm_unref(mvm, IWL_MVM_REF_UCODE_DOWN);
This page took 0.02501 seconds and 5 git commands to generate.