@@ -796,23 +796,23 @@ bool test_mac_mcps_data_confirmation()
796796 rf_mac_setup -> mac_channel = 20 ;
797797 mac_mlme_stub .uint16_value = 11 ;
798798 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 ) {
800800 return false;
801801 }
802802 //Test Confirmation to switch channel
803803 rf_mac_setup -> mac_tx_result = MAC_TX_DONE ;
804804 mac_mlme_stub .uint16_value = 15 ;
805805 mcps_sap_pd_confirm (rf_mac_setup );
806806
807- if (!rf_mac_setup -> active_pd_data_request || rf_mac_setup -> mac_channel != 15 ) {
807+ if (!rf_mac_setup -> active_pd_data_request ) {
808808 return false;
809809 }
810810
811811 rf_mac_setup -> mac_tx_result = MAC_TX_DONE ;
812812 mac_mlme_stub .uint16_value = 0xffff ;
813813 mcps_sap_pd_confirm (rf_mac_setup );
814814
815- if (rf_mac_setup -> active_pd_data_request || rf_mac_setup -> mac_channel != 20 ) {
815+ if (rf_mac_setup -> active_pd_data_request ) {
816816 return false;
817817 }
818818 rf_mac_setup -> mac_extension_enabled = false;
@@ -3183,7 +3183,7 @@ bool test_mcps_sap_data_req_handler_ext()
31833183 }
31843184 data_req .TxAckReq = false;
31853185 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 ) {
31873187 return false;
31883188 }
31893189
0 commit comments