Update vendored wifi, handle stations with missing info
This commit is contained in:
parent
92537020a3
commit
ca3f07feef
6 changed files with 288 additions and 41 deletions
17
vendor/github.com/mdlayher/wifi/client_others.go
generated
vendored
17
vendor/github.com/mdlayher/wifi/client_others.go
generated
vendored
|
|
@ -2,18 +2,6 @@
|
|||
|
||||
package wifi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
var (
|
||||
// errUnimplemented is returned by all functions on platforms that
|
||||
// do not have package wifi implemented.
|
||||
errUnimplemented = fmt.Errorf("package wifi not implemented on %s/%s",
|
||||
runtime.GOOS, runtime.GOARCH)
|
||||
)
|
||||
|
||||
var _ osClient = &client{}
|
||||
|
||||
// A conn is the no-op implementation of a netlink sockets connection.
|
||||
|
|
@ -34,6 +22,11 @@ func (c *client) Interfaces() ([]*Interface, error) {
|
|||
return nil, errUnimplemented
|
||||
}
|
||||
|
||||
// BSS always returns an error.
|
||||
func (c *client) BSS(ifi *Interface) (*BSS, error) {
|
||||
return nil, errUnimplemented
|
||||
}
|
||||
|
||||
// StationInfo always returns an error.
|
||||
func (c *client) StationInfo(ifi *Interface) (*StationInfo, error) {
|
||||
return nil, errUnimplemented
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue