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); } }
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); } }
int wifi_command(const char *command, char *reply, size_t *reply_len) { return wifi_send_command(command, reply, reply_len); }