Update priority list after priority change
Despite comments in the wpa_config_update_prio_list(struct wpa_config *config) telling that it is called "if priority for a network is changed", it is apparently not. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
09bd6e8cca
commit
aa53509ffe
5 changed files with 13 additions and 3 deletions
|
@ -1543,7 +1543,7 @@ int wpa_config_add_prio_network(struct wpa_config *config,
|
|||
* configuration when a network is being added or removed. This is also called
|
||||
* if a priority for a network is changed.
|
||||
*/
|
||||
static int wpa_config_update_prio_list(struct wpa_config *config)
|
||||
int wpa_config_update_prio_list(struct wpa_config *config)
|
||||
{
|
||||
struct wpa_ssid *ssid;
|
||||
int ret = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue