Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325064
b: refs/heads/master
c: 102db1f
h: refs/heads/master
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 3faf5e9 commit a2bbede
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 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: 311e24fb1a654a260697793880979142fbbd185d
refs/heads/master: 102db1fc4a87668d0021395e6f7af996cf0c78d5
6 changes: 1 addition & 5 deletions trunk/drivers/staging/wlan-ng/hfa384x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2140,11 +2140,7 @@ int hfa384x_drvr_flashdl_write(hfa384x_t *hw, u32 daddr, void *buf, u32 len)
----------------------------------------------------------------*/
int hfa384x_drvr_getconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len)
{
int result;

result = hfa384x_dorrid_wait(hw, rid, buf, len);

return result;
return hfa384x_dorrid_wait(hw, rid, buf, len);
}

/*----------------------------------------------------------------
Expand Down
15 changes: 6 additions & 9 deletions trunk/drivers/staging/wlan-ng/prism2sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -1988,12 +1988,12 @@ void prism2sta_commsqual_defer(struct work_struct *data)
int result = 0;

if (hw->wlandev->hwremoved)
goto done;
return;

/* we don't care if we're in AP mode */
if ((wlandev->macmode == WLAN_MACMODE_NONE) ||
(wlandev->macmode == WLAN_MACMODE_ESS_AP)) {
goto done;
return;
}

/* It only makes sense to poll these in non-IBSS */
Expand All @@ -2004,7 +2004,7 @@ void prism2sta_commsqual_defer(struct work_struct *data)

if (result) {
printk(KERN_ERR "error fetching commsqual\n");
goto done;
return;
}

pr_debug("commsqual %d %d %d\n",
Expand All @@ -2021,7 +2021,7 @@ void prism2sta_commsqual_defer(struct work_struct *data)
if (result) {
pr_debug("get signal rate failed, result = %d\n",
result);
goto done;
return;
}

switch (mibitem->data) {
Expand All @@ -2048,7 +2048,7 @@ void prism2sta_commsqual_defer(struct work_struct *data)
if (result) {
pr_debug("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_CURRENTBSSID, result);
goto done;
return;
}

result = hfa384x_drvr_getconfig(hw,
Expand All @@ -2057,16 +2057,13 @@ void prism2sta_commsqual_defer(struct work_struct *data)
if (result) {
pr_debug("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_CURRENTSSID, result);
goto done;
return;
}
prism2mgmt_bytestr2pstr((hfa384x_bytestr_t *) &ssid,
(p80211pstrd_t *) &wlandev->ssid);

/* Reschedule timer */
mod_timer(&hw->commsqual_timer, jiffies + HZ);

done:
;
}

void prism2sta_commsqual_timer(unsigned long data)
Expand Down

0 comments on commit a2bbede

Please sign in to comment.