-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix is_gateway() check being true for LTE clients
This is both a cleanup and a logic fix. LTE clients should not mark themselves as gateways, this could have been fixed just by moving the set_gateway() statement into the interface mode check. But thanks to recent movements of the interface code it's now possible to simply drop the lazy static itself. Performance wise this function isn't called enough, nor is it complex enough to warrant serious concern about have to execute the check each time instead of simply loading the cached version.
- Loading branch information
Showing
2 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters