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

This commit is contained in:
evilsocket 2018-03-12 15:58:45 +01:00
commit 0a8b8548b6
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
6 changed files with 39 additions and 38 deletions

View file

@ -66,7 +66,7 @@ func (w *WiFiModule) getRow(station *network.Station) []string {
fmt.Sprintf("%d dBm", station.RSSI),
bssid,
/* station.Vendor, */
strconv.Itoa(mhz2chan(station.Frequency)),
strconv.Itoa(network.Dot11Freq2Chan(station.Frequency)),
sent,
recvd,
seen,
@ -88,7 +88,7 @@ func (w *WiFiModule) getRow(station *network.Station) []string {
ssid,
/* station.Vendor, */
encryption,
strconv.Itoa(mhz2chan(station.Frequency)),
strconv.Itoa(network.Dot11Freq2Chan(station.Frequency)),
clients,
sent,
recvd,