Skip to content

Commit 688bc4b

Browse files
jukkarnashif
authored andcommitted
net: websocket: Fix the typo in function name
s/interal/internal/g Signed-off-by: Jukka Rissanen <[email protected]>
1 parent 4afec7c commit 688bc4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/net/lib/websocket/websocket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ int websocket_disconnect(int ws_sock)
452452
return zsock_close(ws_sock);
453453
}
454454

455-
static int websocket_interal_disconnect(struct websocket_context *ctx)
455+
static int websocket_internal_disconnect(struct websocket_context *ctx)
456456
{
457457
int ret;
458458

@@ -480,7 +480,7 @@ static int websocket_close_vmeth(void *obj)
480480
struct websocket_context *ctx = obj;
481481
int ret;
482482

483-
ret = websocket_interal_disconnect(ctx);
483+
ret = websocket_internal_disconnect(ctx);
484484
if (ret < 0) {
485485
/* Ignore error if we are not connected */
486486
if (ret != -ENOTCONN) {

0 commit comments

Comments
 (0)