예제 #1
0
int wifi_command(const char *ifname, const char *command, char *reply, size_t *reply_len)
{
    if (is_primary_interface(ifname)) {
        return wifi_send_command(PRIMARY, command, reply, reply_len);
    } else {
        return wifi_send_command(SECONDARY, command, reply, reply_len);
    }
}
예제 #2
0
int wifi_command(const char *ifname, const char *command, char *reply, size_t *reply_len)
{
    ALOGD("%s: Sending command [%s] to [%s]", __func__, command, ifname);
    if (is_primary_interface(ifname)) {
        return wifi_send_command(PRIMARY, command, reply, reply_len);
    } else {
        return wifi_send_command(SECONDARY, command, reply, reply_len);
    }
}
예제 #3
0
파일: wifi.c 프로젝트: flyingwalf/sys-auto
int wifi_command(const char *command, char *reply, size_t *reply_len)
{
    return wifi_send_command(command, reply, reply_len);
}