Skip to content

Commit

Permalink
Remove error check from enableAutoAcceptPairRequest due to asynch nat…
Browse files Browse the repository at this point in the history
…ure of method.
  • Loading branch information
maxhorowitz committed Feb 18, 2025
1 parent 02dd56f commit 2e5c12d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ func (bwp *BluetoothWiFiProvisioner) stopAdvertisingBLE() error {
return errors.New("TODO APP-7644: Add Linux-specific bluetooth calls for automatic pairing and read/write to BLE characteristics")
}

func (bwp *BluetoothWiFiProvisioner) enableAutoAcceptPairRequest() error {
return errors.New("TODO APP-7644: Add Linux-specific bluetooth calls for automatic pairing and read/write to BLE characteristics")
func (bwp *BluetoothWiFiProvisioner) enableAutoAcceptPairRequest() {
return

Check failure on line 117 in subsystems/provisioning/bluetooth/bluetooth_wifi_provisioner.go

View workflow job for this annotation

GitHub Actions / Test lint and build

S1023: redundant `return` statement (gosimple)
}

func (bwp *BluetoothWiFiProvisioner) writeAvailableNetworks(networks *AvailableWiFiNetworks) error {
Expand Down

0 comments on commit 2e5c12d

Please sign in to comment.