- Fixed detectSecurity() where WPA2 (0x100/PSK) and WPA3 (0x400/SAE) flags were swapped, causing NM to reject connections silently - Added missing AP path to AddAndActivateConnection call - Added critical connection settings: UUID, interface-name, autoconnect, permissions - Changed init() to fail fast with logger.Fatal instead of silent failure on NM connection error - Added auth-alg and psk-flags to WPA/WPA2 security settings
13 lines
499 B
Go
13 lines
499 B
Go
// Copyright 2017 Google Inc. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build js
|
|
|
|
package uuid
|
|
|
|
// getHardwareInterface returns nil values for the JS version of the code.
|
|
// This remvoves the "net" dependency, because it is not used in the browser.
|
|
// Using the "net" library inflates the size of the transpiled JS code by 673k bytes.
|
|
func getHardwareInterface(name string) (string, []byte) { return "", nil }
|