diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-11-17 20:22:45 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-11-17 20:22:45 +0000 |
commit | 322b6bc8e6bf7e3f4631e995afc6122a6c45a1e4 (patch) | |
tree | 43039cca3d66cc271924ecad8c1fec0f610ae6a7 /src | |
parent | 525e8bcb518f643e9dd6a4f6af7aa064cd8ff497 (diff) |
documenation fixes
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@50 022f378f-78c4-0310-b860-d162c87e6274
Diffstat (limited to 'src')
-rw-r--r-- | src/waproamd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/waproamd.c b/src/waproamd.c index 41cfa3f..91dd26b 100644 --- a/src/waproamd.c +++ b/src/waproamd.c @@ -274,10 +274,8 @@ int go(struct interface *i) { /* Try to enable userspace roaming in the driver */ if (!disabled && use_userspace_roaming) { - if (iw_set_hostroam(i, 2) < 0) { + if (iw_set_hostroam(i, 2) < 0) daemon_log(LOG_WARNING, "Enabling user space roaming failed, doing without."); - use_userspace_roaming = 0; - } } memset(¤t_ap, 0, sizeof(current_ap)); @@ -406,6 +404,9 @@ int go(struct interface *i) { if (d && !disabled) { daemon_log(LOG_INFO, "Interface enabled"); associated = scanning = 0; + + if (iw_set_hostroam(i, 2) < 0) + daemon_log(LOG_WARNING, "Enabling user space roaming failed, doing without."); } if (!disabled) { |