|
@@ -1890,14 +1890,10 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle,
|
|
|
break;
|
|
|
|
|
|
mode = WMI_ROAM_SCAN_MODE_PERIODIC;
|
|
|
- /* Don't use rssi triggered roam scans if external app
|
|
|
- * is in control of channel list.
|
|
|
- */
|
|
|
- if (roam_req->ChannelCacheType != CHANNEL_LIST_STATIC ||
|
|
|
- roam_req->roam_force_rssi_trigger)
|
|
|
+ if (roam_req->roam_force_rssi_trigger)
|
|
|
mode |= WMI_ROAM_SCAN_MODE_RSSI_CHANGE;
|
|
|
|
|
|
- } else {
|
|
|
+ } else if (roam_req->roam_force_rssi_trigger) {
|
|
|
mode = WMI_ROAM_SCAN_MODE_RSSI_CHANGE;
|
|
|
}
|
|
|
|
|
@@ -2191,14 +2187,10 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle,
|
|
|
break;
|
|
|
|
|
|
mode = WMI_ROAM_SCAN_MODE_PERIODIC;
|
|
|
- /* Don't use rssi triggered roam scans if external app
|
|
|
- * is in control of channel list.
|
|
|
- */
|
|
|
- if (roam_req->ChannelCacheType != CHANNEL_LIST_STATIC ||
|
|
|
- roam_req->roam_force_rssi_trigger)
|
|
|
+ if (roam_req->roam_force_rssi_trigger)
|
|
|
mode |= WMI_ROAM_SCAN_MODE_RSSI_CHANGE;
|
|
|
|
|
|
- } else {
|
|
|
+ } else if (roam_req->roam_force_rssi_trigger) {
|
|
|
mode = WMI_ROAM_SCAN_MODE_RSSI_CHANGE;
|
|
|
}
|
|
|
|