|
@@ -2881,7 +2881,10 @@ void iwl3945_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif)
|
|
IWL_DEBUG_INFO(priv, "Scanning while associated...\n");
|
|
IWL_DEBUG_INFO(priv, "Scanning while associated...\n");
|
|
|
|
|
|
spin_lock_irqsave(&priv->lock, flags);
|
|
spin_lock_irqsave(&priv->lock, flags);
|
|
- interval = vif ? vif->bss_conf.beacon_int : 0;
|
|
|
|
|
|
+ if (priv->is_internal_short_scan)
|
|
|
|
+ interval = 0;
|
|
|
|
+ else
|
|
|
|
+ interval = vif->bss_conf.beacon_int;
|
|
spin_unlock_irqrestore(&priv->lock, flags);
|
|
spin_unlock_irqrestore(&priv->lock, flags);
|
|
|
|
|
|
scan->suspend_time = 0;
|
|
scan->suspend_time = 0;
|