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 750fc39 commit 8b70c4a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions iotwifi/wpacfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ func (wpa *WpaCfg) StartAP() {
SetupCfg: wpa.WpaCfg,
}

command.RemoveApInterface()
command.AddApInterface()
command.UpApInterface()
command.ConfigureApInterface()
command.DisablePowerManagement()
// note: we use wlan1 as ap instead
//command.RemoveApInterface()
//command.AddApInterface()
//command.UpApInterface()
//command.ConfigureApInterface()
//command.DisablePowerManagement()

cmd := exec.Command("hostapd", "-d", "/dev/stdin")

Expand Down

0 comments on commit 8b70c4a

Please sign in to comment.