Skip to content

Commit 05dd4ce

Browse files
authored
Merge pull request #12769 from miteshdedhia7/pr/rssi-gt-fix
Fix WIFI-GET-RSSI test case failure and remove extra label from CYW9P62S1_43438EVB_01 in target.json
2 parents 92f5809 + 4f28ff0 commit 05dd4ce

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

features/netsocket/emac-drivers/TARGET_Cypress/COMPONENT_WHD/interface/WhdSTAInterface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ int8_t WhdSTAInterface::get_rssi()
399399
int32_t rssi;
400400
whd_result_t res;
401401

402-
// initialize wiced, this is noop if already init
403402
if (!_whd_emac.powered_up) {
404403
if(!_whd_emac.power_up()) {
405404
CY_ASSERT(false);
@@ -408,7 +407,7 @@ int8_t WhdSTAInterface::get_rssi()
408407

409408
res = (whd_result_t)whd_wifi_get_rssi(_whd_emac.ifp, &rssi);
410409
if (res != 0) {
411-
CY_ASSERT(false);
410+
/* The network GT tests expect that this function should return 0 in case of an error and not assert */
412411
return 0;
413412
}
414413

targets/targets.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12982,7 +12982,6 @@
1298212982
"extra_labels_add": [
1298312983
"PSOC6_01",
1298412984
"MXCRYPTO_01",
12985-
"CM0P_SLEEP",
1298612985
"CORDIO"
1298712986
],
1298812987
"macros_add": [

0 commit comments

Comments
 (0)