mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
d5fb7b6754
commit
3c506b7809
6 changed files with 9 additions and 10 deletions
|
@ -24,7 +24,7 @@ func (mod *WiFiModule) isInterfaceConnected() bool {
|
|||
}
|
||||
|
||||
func (mod *WiFiModule) hopUnlocked(channel int) (mustStop bool) {
|
||||
mod.Debug("hopping on channel %d", channel)
|
||||
// mod.Debug("hopping on channel %d", channel)
|
||||
|
||||
if err := network.SetInterfaceChannel(mod.iface.Name(), channel); err != nil {
|
||||
// check if the device has been disconnected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue