Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f4625776f96e26b15d98615337ea5916648b1e8
Commit:     9f4625776f96e26b15d98615337ea5916648b1e8
Parent:     506e9025e030c441679fb1ae77fb0d6266c34443
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 12 22:50:21 2007 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:07:06 2008 -0800

    libertas: make lbs_update_channel() function non-static
    
    We'll want to use this for meshfrobbing
    
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/assoc.c |    8 ++++----
 drivers/net/wireless/libertas/decl.h  |    1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/libertas/assoc.c 
b/drivers/net/wireless/libertas/assoc.c
index 21a5696..ff976eb 100644
--- a/drivers/net/wireless/libertas/assoc.c
+++ b/drivers/net/wireless/libertas/assoc.c
@@ -163,7 +163,7 @@ done:
 }
 
 
-static int update_channel(struct lbs_private *priv)
+int lbs_update_channel(struct lbs_private *priv)
 {
        int ret;
 
@@ -184,7 +184,7 @@ void lbs_sync_channel(struct work_struct *work)
                sync_channel);
 
        lbs_deb_enter(LBS_DEB_ASSOC);
-       if (update_channel(priv) != 0)
+       if (lbs_update_channel(priv))
                lbs_pr_info("Channel synchronization failed.");
        lbs_deb_leave(LBS_DEB_ASSOC);
 }
@@ -196,7 +196,7 @@ static int assoc_helper_channel(struct lbs_private *priv,
 
        lbs_deb_enter(LBS_DEB_ASSOC);
 
-       ret = update_channel(priv);
+       ret = lbs_update_channel(priv);
        if (ret < 0) {
                lbs_deb_assoc("ASSOC: channel: error getting channel.\n");
        }
@@ -220,7 +220,7 @@ static int assoc_helper_channel(struct lbs_private *priv,
        /* FIXME: shouldn't need to grab the channel _again_ after setting
         * it since the firmware is supposed to return the new channel, but
         * whatever... */
-       ret = update_channel(priv);
+       ret = lbs_update_channel(priv);
        if (ret < 0)
                lbs_deb_assoc("ASSOC: channel: error getting channel.\n");
 
diff --git a/drivers/net/wireless/libertas/decl.h 
b/drivers/net/wireless/libertas/decl.h
index 9b0ef16..45f081b 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -77,4 +77,5 @@ int lbs_stop_card(struct lbs_private *priv);
 int lbs_reset_device(struct lbs_private *priv);
 void lbs_host_to_card_done(struct lbs_private *priv);
 
+int lbs_update_channel(struct lbs_private *priv);
 #endif
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to