Skip to content

wireless/ieee802154: Don't set IFF_DOWN in mac802154netdev_register#6636

Merged
pkarashchenko merged 1 commit into
apache:masterfrom
xiaoxiang781216:ifdown
Jul 19, 2022
Merged

wireless/ieee802154: Don't set IFF_DOWN in mac802154netdev_register#6636
pkarashchenko merged 1 commit into
apache:masterfrom
xiaoxiang781216:ifdown

Conversation

@xiaoxiang781216

@xiaoxiang781216 xiaoxiang781216 commented Jul 19, 2022

Copy link
Copy Markdown
Contributor

Summary

since IFF_DOWN is only used for request, not for status. Instead,
IFF_UP should be used to query the netdev status. The IFF_DOWN
related macros are also removed to avoid the confuse.

Impact

Remove the unused macros

Testing

Internal device

since IFF_DOWN is only used for request, not for status. Instead,
IFF_UP should be used to query the netdev status. The IFF_DOWN
related macros are also removed to avoid the confuse.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 linked an issue Jul 19, 2022 that may be closed by this pull request
@pkarashchenko pkarashchenko merged commit 463f321 into apache:master Jul 19, 2022
@xiaoxiang781216 xiaoxiang781216 deleted the ifdown branch July 19, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do we still need IFF_DOWN?

4 participants