Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79194
b: refs/heads/master
c: 9f46257
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent ffaf092 commit 875a3b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 506e9025e030c441679fb1ae77fb0d6266c34443
refs/heads/master: 9f4625776f96e26b15d98615337ea5916648b1e8
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/libertas/assoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static int assoc_helper_mode(struct lbs_private *priv,
}


static int update_channel(struct lbs_private *priv)
int lbs_update_channel(struct lbs_private *priv)
{
int ret;

Expand All @@ -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);
}
Expand All @@ -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");
}
Expand All @@ -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");

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/libertas/decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 875a3b0

Please sign in to comment.