parent
5d22d41ed7
commit
6fa6f476c7
|
@ -59,6 +59,9 @@ func newClient() (*client, error) {
|
|||
func initClient(c genl) (*client, error) {
|
||||
family, err := c.GetFamily(nl80211.GenlName)
|
||||
if err != nil {
|
||||
// Ensure the genl socket is closed on error to avoid leaking file
|
||||
// descriptors.
|
||||
_ = c.Close()
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
|
@ -69,10 +69,10 @@
|
|||
"revisionTime": "2017-01-04T04:59:06Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "J6L0K9aHO8riicB4BY8/WHb6wBI=",
|
||||
"checksumSHA1": "XG73RxoI99JeNkxyMStXnlCpXXM=",
|
||||
"path": "github.com/mdlayher/wifi",
|
||||
"revision": "85a20a7adc659e5007fb9dd0961ba4e8b7ea2f80",
|
||||
"revisionTime": "2017-01-17T05:43:47Z"
|
||||
"revision": "1ccab08abb10805297916157a270d05f562e2647",
|
||||
"revisionTime": "2017-03-01T22:08:15Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "VzutdH69PUqRqhrDVv6F91ebQd4=",
|
||||
|
|
Loading…
Reference in New Issue