Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] wapi_set_ifdown failed #2505

Closed
1 task done
metarutaiga opened this issue Aug 19, 2024 · 2 comments · Fixed by #2647 or apache/nuttx#13842
Closed
1 task done

[BUG] wapi_set_ifdown failed #2505

metarutaiga opened this issue Aug 19, 2024 · 2 comments · Fixed by #2647 or apache/nuttx#13842

Comments

@metarutaiga
Copy link

metarutaiga commented Aug 19, 2024

Description / Steps to reproduce the issue

ifr.ifr_flags &= ~IFF_UP;

It miss to set IFF_DOWN into ifr.ifr_flags;

       ifr.ifr_flags &= ~IFF_UP;
+      ifr.ifr_flags |= IFF_DOWN;

And look at this

req.ifr_flags |= IFF_DOWN;

On which OS does this issue occur?

[Mac]

What is the version of your OS?

macOS 14

NuttX Version

12.6.0

Issue Architecture

[risc-v]

Issue Area

[Networking]

Verification

  • I have verified before submitting the report.
@acassis
Copy link
Contributor

acassis commented Sep 19, 2024

@tmedicci what do you think? Is this modification correct?

@xiaoxiang781216
Copy link
Contributor

@acassis @metarutaiga the problem is fixed by #2647 and apache/nuttx#13842.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants