mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Use global OC table for lookup while updating RNR db
Operating class field used in RNR IE is of global operating class. When getting frequency from RNR IE region specific operating class is used for lookup instead of global. Added changes to search operating class from global OC table. Change-Id: I200ab46187fed91cc66cd954b062c8d8ac44f631 CRs-Fixed: 3131600
This commit is contained in:
parent
8c4a382b14
commit
8570f5c3f5
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -132,7 +133,7 @@ static void scm_add_rnr_channel_db(struct wlan_objmgr_psoc *psoc,
|
|||
continue;
|
||||
chan_freq = wlan_reg_chan_opclass_to_freq(rnr_bss->channel_number,
|
||||
rnr_bss->operating_class,
|
||||
false);
|
||||
true);
|
||||
channel = scm_get_chan_meta(psoc, chan_freq);
|
||||
if (!channel) {
|
||||
scm_debug("Failed to get chan Meta freq %d", chan_freq);
|
||||
|
|
|
|||
Loading…
Reference in a new issue