Skip to content

Commit

Permalink
Fix structure mismatch
Browse files Browse the repository at this point in the history
The define should only be passed when it's enabled in the BM code, not
unconditioanlly, this causes mismatch in the strucutre definition.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Dec 8, 2024
1 parent 5a1f32f commit 9c56b6a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nrf_wifi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ target_compile_definitions_ifdef(CONFIG_NRF70_RADIO_TEST
-DCONFIG_NRF700X_RADIO_TEST
)

target_compile_definitions_ifdef(CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS
nrf-wifi
PRIVATE
-DCONFIG_WIFI_MGMT_RAW_SCAN_RESULTS
)

target_compile_definitions(
nrf-wifi
PRIVATE
Expand All @@ -126,7 +132,6 @@ target_compile_definitions(
-DCONFIG_NRF700X_MAX_TX_AGGREGATION=12
-DCONFIG_NRF700X_RX_NUM_BUFS=63
-DCONFIG_NRF700X_RX_MAX_DATA_SIZE=1600
-DCONFIG_WIFI_MGMT_RAW_SCAN_RESULTS
-DCONFIG_NRF700X_ANT_GAIN_2G=0
-DCONFIG_NRF700X_ANT_GAIN_5G_BAND1=0
-DCONFIG_NRF700X_ANT_GAIN_5G_BAND2=0
Expand Down

0 comments on commit 9c56b6a

Please sign in to comment.