I noticed that the Station DBus method GetOrderedNetworks() was not
respecting the behaviour documented in doc/station-api.txt, namely that:
1. If the device is currently connected to a network, that network
is always first on the list,
2. followed by any known networks that have been used at least once
before [...]
These two patches should address the two points respectively.
Alvin Šipraga (2):
station: refresh ordered network list on (dis)connect
treewide: guard compare functions against signed integer overflow
src/network.c | 2 +-
src/scan.c | 2 +-
src/station.c | 16 ++++++++++++++--
tools/hwsim.c | 2 +-
4 files changed, 17 insertions(+), 5 deletions(-)
--
2.28.0
Show replies by date