diff options
author | Luis Carlos Cobo Rus <luisca@cozybit.com> | 2007-05-30 12:14:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-12 14:02:23 -0400 |
commit | b8bedefd8fe589ff87a681e20583c8317030491d (patch) | |
tree | 2ec517d95cc034d35290c9fb29230224e93fcae6 /drivers/net/wireless/libertas/assoc.c | |
parent | 717c9339202a42ae7bec7d3c4b84deecdcae9f81 (diff) |
[PATCH] libertas: pull current channel from firmware on mesh autostart
Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/assoc.c')
-rw-r--r-- | drivers/net/wireless/libertas/assoc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index ee82413b426d..06a90b42a451 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -200,6 +200,14 @@ static int update_channel(wlan_private * priv) | |||
200 | cmd_option_waitforrsp, 0, NULL); | 200 | cmd_option_waitforrsp, 0, NULL); |
201 | } | 201 | } |
202 | 202 | ||
203 | void libertas_sync_channel(struct work_struct *work) | ||
204 | { | ||
205 | wlan_private *priv = container_of(work, wlan_private, sync_channel); | ||
206 | |||
207 | if (update_channel(priv) != 0) | ||
208 | lbs_pr_info("Channel synchronization failed."); | ||
209 | } | ||
210 | |||
203 | static int assoc_helper_channel(wlan_private *priv, | 211 | static int assoc_helper_channel(wlan_private *priv, |
204 | struct assoc_request * assoc_req) | 212 | struct assoc_request * assoc_req) |
205 | { | 213 | { |