Skip to content

Commit

Permalink
Update wpacfg.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinLoeper authored Sep 11, 2019
1 parent 8894fbe commit e056856
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions iotwifi/wpacfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ rsn_pairwise=CCMP`

// ConfiguredNetworks returns a list of configured wifi networks.
func (wpa *WpaCfg) ConfiguredNetworks() string {
netOut, err := exec.Command("wpa_cli", "-i", "
", "scan").Output()
netOut, err := exec.Command("wpa_cli", "-i", "wlan1", "scan").Output()
if err != nil {
wpa.Log.Fatal(err)
}
Expand Down

0 comments on commit e056856

Please sign in to comment.