@@ -796,23 +796,23 @@ bool test_mac_mcps_data_confirmation()
796
796
rf_mac_setup -> mac_channel = 20 ;
797
797
mac_mlme_stub .uint16_value = 11 ;
798
798
mcps_sap_data_req_handler_ext (rf_mac_setup , & data_req , & ie_list , & channel_list );
799
- if (!rf_mac_setup -> active_pd_data_request || rf_mac_setup -> mac_channel != 11 ) {
799
+ if (!rf_mac_setup -> active_pd_data_request ) {
800
800
return false;
801
801
}
802
802
//Test Confirmation to switch channel
803
803
rf_mac_setup -> mac_tx_result = MAC_TX_DONE ;
804
804
mac_mlme_stub .uint16_value = 15 ;
805
805
mcps_sap_pd_confirm (rf_mac_setup );
806
806
807
- if (!rf_mac_setup -> active_pd_data_request || rf_mac_setup -> mac_channel != 15 ) {
807
+ if (!rf_mac_setup -> active_pd_data_request ) {
808
808
return false;
809
809
}
810
810
811
811
rf_mac_setup -> mac_tx_result = MAC_TX_DONE ;
812
812
mac_mlme_stub .uint16_value = 0xffff ;
813
813
mcps_sap_pd_confirm (rf_mac_setup );
814
814
815
- if (rf_mac_setup -> active_pd_data_request || rf_mac_setup -> mac_channel != 20 ) {
815
+ if (rf_mac_setup -> active_pd_data_request ) {
816
816
return false;
817
817
}
818
818
rf_mac_setup -> mac_extension_enabled = false;
@@ -3183,7 +3183,7 @@ bool test_mcps_sap_data_req_handler_ext()
3183
3183
}
3184
3184
data_req .TxAckReq = false;
3185
3185
mcps_sap_data_req_handler_ext (rf_mac_setup , & data_req , & ie_list , & channel_list );
3186
- if (!rf_mac_setup -> active_pd_data_request || rf_mac_setup -> mac_channel != 11 ) {
3186
+ if (!rf_mac_setup -> active_pd_data_request ) {
3187
3187
return false;
3188
3188
}
3189
3189
0 commit comments