Skip to content

Commit

Permalink
Report interface info before starting network scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Gene C committed Jul 10, 2024
1 parent 2294cb9 commit e9d9452
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = "iwinfo"
copyright = '2023, Gene C'
author = 'Gene C'
release = '3.2.0'
release = '3.3.0'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion packaging/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pkgname='iwinfo'
pkgdesc='Provide wifi information about capabilities and network(s)'
_gitname='iwinfo'

pkgver=3.2.0
pkgver=3.3.0
pkgrel=1
url="https://github.com/gene-git/iwinfo"

Expand Down
2 changes: 1 addition & 1 deletion src/iwinfo/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"""
Project iwinfo
"""
__version__ = "3.2.0"
__version__ = "3.3.0"

7 changes: 4 additions & 3 deletions src/iwinfo/lib/class_iw.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ def get_network_info(self):
Do what has been requested
"""
self.get_our_wifi_info()
if self.do_scan:
self.scan()
#if self.do_scan:
# self.scan()

def report(self):
"""
Expand All @@ -269,7 +269,8 @@ def report(self):
phy_info.report()

if self.do_scan:
print('\nScan Results:')
print('\nScanning network ...')
self.scan()
for (dev, scan_device) in self.scan_device.items():
print(f' {dev}:')
scan_device.report(self.ap_bssids, wifi_db)

0 comments on commit e9d9452

Please sign in to comment.