mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
new: wifi modules now supports 5G wifi networks on macOS (closes #361)
This commit is contained in:
parent
26e2cd8831
commit
260f2863c4
2 changed files with 25 additions and 3 deletions
|
@ -235,6 +235,8 @@ func (w *WiFiModule) Configure() error {
|
|||
return err
|
||||
}
|
||||
|
||||
log.Debug("wifi supported frequencies: %v", w.frequencies)
|
||||
|
||||
// we need to start somewhere, this is just to check if
|
||||
// this OS supports switching channel programmatically.
|
||||
if err = network.SetInterfaceChannel(w.Session.Interface.Name(), 1); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue