mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b80bd4e1e2
commit
35c9740537
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ func (w *WiFiRecon) getRow(station *WiFiStation) []string {
|
|||
}
|
||||
|
||||
func mhz2chan(freq int) int {
|
||||
// ambo!
|
||||
if freq <= 2484 {
|
||||
return ((freq - 2412) / 5) + 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue