We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d8a08 commit cbc7f21Copy full SHA for cbc7f21
drivers/wifi/nrf_wifi/src/net_if.c
@@ -397,7 +397,8 @@ int nrf_wifi_if_send(const struct device *dev,
397
398
#ifdef CONFIG_NRF70_RAW_DATA_TX
399
memcpy(&raw_hdr, net_pkt_data(pkt), sizeof(raw_hdr));
400
- if (ntohl(raw_hdr.magic_num) == NRF_WIFI_MAGIC_NUM_RAWTX) {
+ if ((ntohl(raw_hdr.magic_num) == NRF_WIFI_MAGIC_NUM_RAWTX) ||
401
+ ntohl(raw_hdr.magic_num) == ntohl(NRF_WIFI_MAGIC_NUM_RAWTX)) {
402
if (vif_ctx_zep->if_carr_state != NRF_WIFI_FMAC_IF_CARR_STATE_ON) {
403
goto drop;
404
}
0 commit comments