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.
2 parents 067d7eb + d55117f commit 3db7cd4Copy full SHA for 3db7cd4
features/netsocket/emac-drivers/TARGET_Cypress/COMPONENT_WHD/interface/WhdSTAInterface.cpp
@@ -377,7 +377,6 @@ int8_t WhdSTAInterface::get_rssi()
377
int32_t rssi;
378
whd_result_t res;
379
380
- // initialize wiced, this is noop if already init
381
if (!_whd_emac.powered_up) {
382
if(!_whd_emac.power_up()) {
383
CY_ASSERT(false);
@@ -386,7 +385,7 @@ int8_t WhdSTAInterface::get_rssi()
386
385
387
res = (whd_result_t)whd_wifi_get_rssi(_whd_emac.ifp, &rssi);
388
if (res != 0) {
389
- CY_ASSERT(false);
+ /* The network GT tests expect that this function should return 0 in case of an error and not assert */
390
return 0;
391
}
392
0 commit comments