Skip to content

函数at_poll调用sal_get_socket函数获取不到正确的socket号,导致只能使用一个socket通信 #8376

Open
@youzuwei

Description

@youzuwei

版本v5.0.2 文件af_inet_at.c文件中 函数static int at_poll(struct dfs_file *file, struct rt_pollreq *req)中调用函数sal_sock = sal_get_socket((int) file->data)获取sal_sock 号不正确,应该改为sal_sock = sal_get_socket((int) file->vnode->data);因为在申请socket的时候,申请到的socket号保存到 file->vnode->data这个参数中。

Metadata

Metadata

Assignees

Labels

bugThis PR/issue is a bug in the current code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions