mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
storage: fix hotspot dir creation
create_dirs was dependent on the path ending in '/' to create the full path. The hotspot code did not include a '/' at the end so it was not getting created, which prevented the hotspot module from initializing.
This commit is contained in:
parent
6902bb9dae
commit
29a05eb402
@ -188,7 +188,7 @@ bool storage_create_dirs(void)
|
||||
}
|
||||
|
||||
storage_path = l_strdup(state_dirs[0]);
|
||||
storage_hotspot_path = l_strdup_printf("%s/hotspot", state_dirs[0]);
|
||||
storage_hotspot_path = l_strdup_printf("%s/hotspot/", state_dirs[0]);
|
||||
l_strv_free(state_dirs);
|
||||
|
||||
if (create_dirs(storage_path)) {
|
||||
|
Loading…
Reference in New Issue
Block a user