mirror of https://github.com/ARMmbed/mbed-os.git
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.jsonpull/12778/head
commit
05dd4ce633
|
|
@ -399,7 +399,6 @@ int8_t WhdSTAInterface::get_rssi()
|
|||
int32_t rssi;
|
||||
whd_result_t res;
|
||||
|
||||
// initialize wiced, this is noop if already init
|
||||
if (!_whd_emac.powered_up) {
|
||||
if(!_whd_emac.power_up()) {
|
||||
CY_ASSERT(false);
|
||||
|
|
@ -408,7 +407,7 @@ int8_t WhdSTAInterface::get_rssi()
|
|||
|
||||
res = (whd_result_t)whd_wifi_get_rssi(_whd_emac.ifp, &rssi);
|
||||
if (res != 0) {
|
||||
CY_ASSERT(false);
|
||||
/* The network GT tests expect that this function should return 0 in case of an error and not assert */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12982,7 +12982,6 @@
|
|||
"extra_labels_add": [
|
||||
"PSOC6_01",
|
||||
"MXCRYPTO_01",
|
||||
"CM0P_SLEEP",
|
||||
"CORDIO"
|
||||
],
|
||||
"macros_add": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue