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

Open
1 task done
metarutaiga opened this issue Aug 19, 2024 · 1 comment
Open
1 task done

[BUG] wapi_set_ifdown failed #2505

metarutaiga opened this issue Aug 19, 2024 · 1 comment

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?

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

No branches or pull requests

2 participants