qcacmn: Fill correct max BW to set channel params
Currently wifi positioning api to update channel bandwidth info is invoking regulatory component api to set the channel params with BW as CH_WIDTH_MAX, because of which regulatory component is returning the maximum BW supported for the current regdomain which is 160MHz. If target does not support 160MHz in that case it may lead to undefined behavior. To address this issue, pass max supported BW by target as argument to regulatory component so that regulatory component does not return the BW greater then the target supported BW. CRs-Fixed: 2730665 Change-Id: I6051336ab2f3ea902a70ed80290e5a5f060de5b9
Loading
Please register or sign in to comment