Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45397 379a1393-f5fb-40a0-bcee-ef074d9b53f7
  • Loading branch information
ikorb committed Dec 14, 2024
1 parent dbdbef6 commit 856b4f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vice/src/userport/userport_wic64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1662,18 +1662,20 @@ static void cmd_wifi(int cmd)
int l = (wic64_protocol == WIC64_PROT_LEGACY) ? 0 : 1; /* kludge to make it compatible */

switch (cmd) {
case WIC64_CMD_SCAN_WIFI_NETWORKS:
case WIC64_CMD_SCAN_WIFI_NETWORKS: {
char rets[128];
char sep = l ? '\0' : '\1';
snprintf(rets, 127, "0%cvice-emulation%c65%c%c", sep, sep, sep, 0xff);
send_reply_revised(SUCCESS, "Success",
(uint8_t *) rets, 20+l,
NULL);
break;
case WIC64_CMD_IS_CONFIGURED:
}
case WIC64_CMD_IS_CONFIGURED: {
char r = '\0';
send_reply_revised(SUCCESS, "Success", (uint8_t *)&r, 1, NULL);
break;
}
case WIC64_CMD_CONNECT_WITH_SSID_STRING:
case WIC64_CMD_CONNECT_WITH_SSID_INDEX:
case WIC64_CMD_IS_CONNECTED:
Expand Down

0 comments on commit 856b4f3

Please sign in to comment.