Skip to content
This repository was archived by the owner on May 24, 2025. It is now read-only.
This repository was archived by the owner on May 24, 2025. It is now read-only.

Get Interface:Up returns true after "set property Interface:Up false" #459

@jorhol

Description

@jorhol

Describe the bug
After setting property Interface:Up to false, NCP role is changed to "Disabled" and NCP state is changed to "unknown", but when reading the property back it returns 'true'.

To Reproduce

  1. Information to reproduce the behavior, including:
  2. Use wpantund built using the latest commit (SHA: cf3d099)
  3. Set Interface:Up to false
  4. Get Interface:Up property, current output is equal to Interface:Up = true

Expected behavior
Resulting Interface:Up should be equal to false to reflect the NCP state.

Console/log output
$ sudo wpanctl setprop Interface:Up false
$ sudo wpanctl getprop Interface:Up
Interface:Up = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions