Skip to content

Commit 0a753f9

Browse files
committed
nrf_wifi: Remove CONFIG_ prefix
OSAL doesn't use CONFIG_ prefix for macros. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 6ec460c commit 0a753f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/nrf_wifi/fw_if/umac_if/inc/default/fmac_structs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ struct nrf_wifi_fmac_callbk_fns {
131131
unsigned int event_len,
132132
bool more_res);
133133

134-
#if defined(CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS) || defined(__DOXYGEN__)
134+
#if defined(WIFI_MGMT_RAW_SCAN_RESULTS) || defined(__DOXYGEN__)
135135
/** Callback function to be called when a beacon/probe response is received. */
136136
void (*rx_bcn_prb_resp_callbk_fn)(void *os_vif_ctx,
137137
void *frm,
138138
unsigned short frequency,
139139
signed short signal);
140-
#endif /* CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS */
140+
#endif /* WIFI_MGMT_RAW_SCAN_RESULTS */
141141

142142
#if defined(NRF70_STA_MODE) || defined(__DOXYGEN__)
143143
/** Callback function to be called when an interface association state changes. */

drivers/nrf_wifi/fw_if/umac_if/src/rx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,13 @@ enum nrf_wifi_status nrf_wifi_fmac_rx_event_process(struct nrf_wifi_fmac_dev_ctx
353353
nwb);
354354
#endif /* NRF70_STA_MODE */
355355
} else if (config->rx_pkt_type == NRF_WIFI_RX_PKT_BCN_PRB_RSP) {
356-
#ifdef CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS
356+
#ifdef WIFI_MGMT_RAW_SCAN_RESULTS
357357
def_priv->callbk_fns.rx_bcn_prb_resp_callbk_fn(
358358
vif_ctx->os_vif_ctx,
359359
nwb,
360360
config->frequency,
361361
config->signal);
362-
#endif /* CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS */
362+
#endif /* WIFI_MGMT_RAW_SCAN_RESULTS */
363363
nrf_wifi_osal_nbuf_free(nwb);
364364
#ifdef NRF_WIFI_MGMT_BUFF_OFFLOAD
365365
continue;

0 commit comments

Comments
 (0)