struct host_if_msg msg;
if (!hif_drv) {
- result = -EFAULT;
PRINT_ER("driver is null\n");
- return result;
+ return -EFAULT;
}
memset(&msg, 0, sizeof(struct host_if_msg));
u8 i;
if (!hif_drv) {
- result = -EFAULT;
PRINT_ER("driver is null\n");
- return result;
+ return -EFAULT;
}
memset(&msg, 0, sizeof(struct host_if_msg));
u32 i;
if (!hif_drv) {
- result = -EFAULT;
PRINT_ER("driver is null\n");
- return result;
+ return -EFAULT;
}
if (pu8RxMic != NULL)
u8KeyLen += RX_MIC_KEY_LEN;
u8 u8KeyLen = u8GtkKeylen;
if (!hif_drv) {
- result = -EFAULT;
PRINT_ER("driver is null\n");
- return result;
+ return -EFAULT;
}
memset(&msg, 0, sizeof(struct host_if_msg));
if (!hif_drv) {
- result = -EFAULT;
PRINT_ER("driver is null\n");
- return result;
+ return -EFAULT;
}
memset(&msg, 0, sizeof(struct host_if_msg));
struct host_if_msg msg;
if (!hif_drv || pfConnectResult == NULL) {
- result = -EFAULT;
PRINT_ER("Driver is null\n");
- return result;
+ return -EFAULT;
}
if (pJoinParams == NULL) {
s32 result = 0;
struct host_if_msg msg;
- if (!join_req) {
- result = -EFAULT;
- return result;
- }
-
+ if (!join_req)
+ return -EFAULT;
if (!hif_drv) {
- result = -EFAULT;
PRINT_ER("Driver is null\n");
- return result;
+ return -EFAULT;
}
msg.id = HOST_IF_MSG_FLUSH_CONNECT;