Skip to content

Commit

Permalink
Update commands.go
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinLoeper authored Sep 11, 2019
1 parent e056856 commit 6262a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iotwifi/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (c *Command) UpApInterface() {

// AddApInterface adds the AP interface.
func (c *Command) AddApInterface() {
cmd := exec.Command("iw", "phy", "phy0", "interface", "add", "uap0", "type", "__ap")
cmd := exec.Command("iw", "dev", "wlan0", "interface", "add", "uap0", "type", "__ap")
cmd.Start()
cmd.Wait()
}
Expand Down

0 comments on commit 6262a32

Please sign in to comment.