diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-04-02 10:52:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-08 16:44:40 -0400 |
commit | 73ab1f25d4a3a22a1547d44199c2171c04e59cb8 (patch) | |
tree | a1a9b917c7824657908186151963acc6d1824fb7 /drivers/net/wireless/libertas/assoc.c | |
parent | 245bf20f9c159f8d35befbc038997096b759459c (diff) |
libertas: move lbs_update_channel out of assoc.c
... as it has nothing to do with pure association
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.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 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index 319b4f931a6..f353419acd0 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -583,23 +583,6 @@ done: | |||
583 | return ret; | 583 | return ret; |
584 | } | 584 | } |
585 | 585 | ||
586 | |||
587 | int lbs_update_channel(struct lbs_private *priv) | ||
588 | { | ||
589 | int ret; | ||
590 | |||
591 | /* the channel in f/w could be out of sync; get the current channel */ | ||
592 | lbs_deb_enter(LBS_DEB_ASSOC); | ||
593 | |||
594 | ret = lbs_get_channel(priv); | ||
595 | if (ret > 0) { | ||
596 | priv->curbssparams.channel = ret; | ||
597 | ret = 0; | ||
598 | } | ||
599 | lbs_deb_leave_args(LBS_DEB_ASSOC, "ret %d", ret); | ||
600 | return ret; | ||
601 | } | ||
602 | |||
603 | static int assoc_helper_channel(struct lbs_private *priv, | 586 | static int assoc_helper_channel(struct lbs_private *priv, |
604 | struct assoc_request * assoc_req) | 587 | struct assoc_request * assoc_req) |
605 | { | 588 | { |