Lines Matching defs:ret
139 uint32_t ret;
143 ret = nss_core_register_handler(if_num, nss_wifi_if_msg_handler, NULL);
145 if (ret != NSS_CORE_STATUS_SUCCESS) {
146 nss_warning("%d: Message handler failed to be registered for interface ret %d\n", if_num, ret);
244 int ret = 0;
257 ret = wait_for_completion_timeout(&nwip->complete,
259 if (!ret) {
381 uint32_t ret;
389 handle = nss_wifi_if_handle_create(nss_ctx, &ret);
391 nss_warning("%p:wifi_if handle creation failed ret %d\n", nss_ctx, ret);
396 ret = nss_wifi_if_register_handler(handle);
397 if (ret != NSS_WIFI_IF_SUCCESS) {
398 nss_warning("%p: Registration handler failed reason: %d\n", nss_ctx, ret);
409 ret = nss_wifi_if_tx_msg_sync(handle, &nwim);
410 if (ret != NSS_TX_SUCCESS) {
411 nss_warning("%p: nss_wifi_if_tx_msg_sync failed %u\n", nss_ctx, ret);