misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-17 02:53:35 +01:00
parent b80bd4e1e2
commit 35c9740537

View file

@ -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
}