qcacmn: Fix compile error for function wlan_reg_get_eirp_pwr()
When CONFIG_BAND_6GHZ is undefined, it will report missing-prototypes compile error for function wlan_reg_get_eirp_pwr(). Add 'static inline' for function wlan_reg_get_eirp_pwr() to fix compile error. CRs-Fixed: 3227164 Change-Id: I9db007fee3aa0061aa9a8e030e45738c0953f36a
This commit is contained in:

gecommit door
Madan Koyyalamudi

bovenliggende
f55ec57e32
commit
5ec471e872
@@ -2445,9 +2445,10 @@ static inline QDF_STATUS wlan_reg_eirp_2_psd(struct wlan_objmgr_pdev *pdev,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
uint8_t wlan_reg_get_eirp_pwr(struct wlan_objmgr_pdev *pdev, qdf_freq_t freq,
|
||||
qdf_freq_t cen320, uint16_t bw,
|
||||
enum reg_6g_ap_type ap_pwr_type)
|
||||
static inline uint8_t wlan_reg_get_eirp_pwr(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_freq_t freq,
|
||||
qdf_freq_t cen320, uint16_t bw,
|
||||
enum reg_6g_ap_type ap_pwr_type)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Verwijs in nieuw issue
Block a user