mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
new: wifi module reports current channel in state
This commit is contained in:
parent
7a2ecb15f6
commit
3a360e4622
2 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,8 @@ func (mod *WiFiModule) hopUnlocked(channel int) (mustStop bool) {
|
|||
}
|
||||
}
|
||||
|
||||
mod.State.Store("channel", channel)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue