qcacmn: Set mode id preference for 2G_PHYB to 0

Set hw_mode_id_preference for WMI_HOST_HW_MODE_2G_PHYB
back to 0 (highest).

Change-Id: I08414f06c201312523af2edb2ed0f860c4bcb27b
CRs-Fixed: 3587689
This commit is contained in:
Aniruddha Mishra 2023-08-24 15:14:30 +05:30 committed by Rahul Choudhary
parent 7de7642831
commit 0ae969c9cd

View File

@ -246,8 +246,8 @@ static bool new_hw_mode_preferred(uint32_t current_hw_mode,
{
uint8_t hw_mode_id_precedence[WMI_HOST_HW_MODE_MAX + 1] = { 6, 2, 5,
4, 1, 3,
7, 8, 9,
10, 0, 11};
7, 0, 8,
9, 10, 11};
if (current_hw_mode > WMI_HOST_HW_MODE_MAX ||
new_hw_mode > WMI_HOST_HW_MODE_MAX)