|
@@ -743,7 +743,7 @@ static inline bool iwl_mvm_scan_use_ebs(struct iwl_mvm *mvm,
|
|
* 4. it's not a p2p find operation.
|
|
* 4. it's not a p2p find operation.
|
|
*/
|
|
*/
|
|
return ((capa->flags & IWL_UCODE_TLV_FLAGS_EBS_SUPPORT) &&
|
|
return ((capa->flags & IWL_UCODE_TLV_FLAGS_EBS_SUPPORT) &&
|
|
- mvm->last_ebs_successful &&
|
|
|
|
|
|
+ mvm->last_ebs_successful && IWL_MVM_ENABLE_EBS &&
|
|
vif->type != NL80211_IFTYPE_P2P_DEVICE);
|
|
vif->type != NL80211_IFTYPE_P2P_DEVICE);
|
|
}
|
|
}
|
|
|
|
|