Prechádzať zdrojové kódy

qcacld-3.0: Update BW for interface when moving to single MAC mode

If the device is operating in MAC0 and MAC1. If the interface
present is MAC0 is removed, the interface in MAC1 moves to MAC0.
But the bandwidth for the interface is not updated properly.

The fix is to update the bandwidth of the MAC1's interface when
the MAC0's interface is removed, and is replaced by MAC1's
interface.

Change-Id: If114167f66d13a3660f9b92b72706bfc2e782b50
CRs-Fixed: 1073581
Nitesh Shah 8 rokov pred
rodič
commit
4c48af3db1
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      core/cds/src/cds_concurrency.c

+ 2 - 0
core/cds/src/cds_concurrency.c

@@ -4364,6 +4364,8 @@ QDF_STATUS cds_decr_connection_count(uint32_t vdev_id)
 			conc_connection_list[next_conn_index].mac;
 		conc_connection_list[conn_index].chan =
 			conc_connection_list[next_conn_index].chan;
+		conc_connection_list[conn_index].bw =
+			conc_connection_list[next_conn_index].bw;
 		conc_connection_list[conn_index].chain_mask =
 			conc_connection_list[next_conn_index].chain_mask;
 		conc_connection_list[conn_index].original_nss =