Skip to content

Commit

Permalink
WhdSTA allow hostname configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Oct 29, 2024
1 parent 0895c1a commit f8cc3e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ nsapi_error_t WhdSTAInterface::connect()
_iface_shared.if_status_flags |= IF_STATUS_STA_UP;
_iface_shared.default_if_cfg = DEFAULT_IF_STA;
if (!_interface) {
nsapi_error_t err = _stack.add_ethernet_interface(_emac, true, &_interface);
nsapi_error_t err = _stack.add_ethernet_interface(_emac, true, &_interface, this);
if (err != NSAPI_ERROR_OK) {
_interface = NULL;
return err;
Expand Down

0 comments on commit f8cc3e4

Please sign in to comment.