fix(connection): initialize as wifi

relates to #3077
This commit is contained in:
Jan De Dobbeleer 2022-11-15 12:40:10 +01:00 committed by Jan De Dobbeleer
parent 5ee1a494e3
commit 6ab687553d

View file

@ -229,7 +229,9 @@ func (env *Shell) wifiNetwork() (*Connection, error) {
}
func (env *Shell) parseNetworkInterface(network *WLAN_INTERFACE_INFO, clientHandle uint32) (*Connection, error) {
info := Connection{}
info := Connection{
Type: WIFI,
}
// Query wifi connection state
var dataSize uint16