Skip to content

Commit

Permalink
Add a sleep to give enough time for lease data to appear.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ketchel committed Nov 17, 2024
1 parent 5f83ee0 commit c2d03d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
wlanpi-core (1.0.5-8) UNRELEASED; urgency=medium
wlanpi-core (1.0.5-8.1) UNRELEASED; urgency=medium

[ Michael Ketchel ]
* Draft build of new wlan control features
Expand All @@ -13,7 +13,10 @@ wlanpi-core (1.0.5-8) UNRELEASED; urgency=medium
* Add DHCP test, Dig, and traceroute, as well as some other
optimizations

-- Michael Ketchel <[email protected]> Fri, 15 Nov 2024 00:29:44 +0000
[ _ ]
* Add a sleep to give enough time for lease data to appear.

-- _ <[email protected]> Sun, 17 Nov 2024 23:24:35 +0000

wlanpi-core (1.0.5-1) unstable; urgency=high

Expand Down
1 change: 1 addition & 0 deletions wlanpi_core/models/network/wlan/wlan_dbus_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def properties_changed_callback(properties):
if self.interface_name:
remove_default_routes(interface=self.interface_name)
renew_dhcp(self.interface_name)
time.sleep(3)
add_default_route(interface=self.interface_name)
ipaddr = get_ip_address(self.interface_name)
connection_events.append(
Expand Down

0 comments on commit c2d03d4

Please sign in to comment.