Bump github.com/mdlayher/wifi to fix #486 (#487)

This commit is contained in:
Matt Layher 2017-03-01 17:20:57 -05:00 committed by Tobias Schmidt
parent 5d22d41ed7
commit 6fa6f476c7
2 changed files with 6 additions and 3 deletions

View file

@ -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
}

6
vendor/vendor.json vendored
View file

@ -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=",