Skip to content

Conversation

@bardliao
Copy link
Collaborator

The existing code test if (bt_link_mask_override) to overwrite the BT link mask. This doesn't allow user to disable the BT link mask. User may want to disable the BT link when it is detected by the NHLT.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables users to disable the Bluetooth link mask through a module parameter, even when it's detected by NHLT. The change modifies the initialization and conditional check of bt_link_mask_override to use -1 as a sentinel value, allowing 0 to be a valid user-specified value for disabling BT links.

  • Changed bt_link_mask_override initialization from 0 to -1
  • Updated the conditional check from if (bt_link_mask_override) to if (bt_link_mask_override != -1)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The existing code test if (bt_link_mask_override) to overwrite the BT
link mask. This doesn't allow user to disable the BT link mask. User may
want to disable the BT link when it is detected by the NHLT.

Signed-off-by: Bard Liao <[email protected]>
@bardliao
Copy link
Collaborator Author

SOFCI TEST

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.

1 participant