[components][net] sal_sock = sal_get_socket((int)file->data); ==> sal_sock = sal_get_socket((int)file->vnode->data); (#9065)

* [components][drivers] added sensor device lookup function

* [components][drivers] modified the format

* [components][drivers] modified 'sensor.c' file format

* Update af_inet_at.c
This commit is contained in:
yiyi 2024-06-18 11:16:10 +08:00 committed by GitHub
parent 65c9947225
commit 7250301d3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ static int at_poll(struct dfs_file *file, struct rt_pollreq *req)
struct at_socket *sock;
struct sal_socket *sal_sock;
sal_sock = sal_get_socket((int) file->data);
sal_sock = sal_get_socket((int)file->vnode->data);
if(!sal_sock)
{
return -1;