Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325271
b: refs/heads/master
c: 5d6f505
h: refs/heads/master
i:
  325269: 6b1beb7
  325267: fdeed29
  325263: dd1db98
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 14, 2012
1 parent 071b037 commit 68674c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 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: 2b970b2d308c61983609a789785d32d01a2dec26
refs/heads/master: 5d6f5054e8ee9af23db3df4471cd3c30d5f2fadc
18 changes: 7 additions & 11 deletions trunk/drivers/staging/wlan-ng/prism2sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ void prism2sta_processing_defer(struct work_struct *data)

/* Now let's handle the linkstatus stuff */
if (hw->link_status == hw->link_status_new)
goto failed;
return;

hw->link_status = hw->link_status_new;

Expand Down Expand Up @@ -1265,7 +1265,7 @@ void prism2sta_processing_defer(struct work_struct *data)
pr_debug
("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_CURRENTBSSID, result);
goto failed;
return;
}

result = hfa384x_drvr_getconfig(hw,
Expand All @@ -1275,7 +1275,7 @@ void prism2sta_processing_defer(struct work_struct *data)
pr_debug
("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_CURRENTSSID, result);
goto failed;
return;
}
prism2mgmt_bytestr2pstr((hfa384x_bytestr_t *) &ssid,
(p80211pstrd_t *) &
Expand All @@ -1289,7 +1289,7 @@ void prism2sta_processing_defer(struct work_struct *data)
pr_debug
("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_PORTSTATUS, result);
goto failed;
return;
}
wlandev->macmode =
(portstatus == HFA384x_PSTATUS_CONN_IBSS) ?
Expand Down Expand Up @@ -1348,7 +1348,7 @@ void prism2sta_processing_defer(struct work_struct *data)
if (result) {
pr_debug("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_CURRENTBSSID, result);
goto failed;
return;
}

result = hfa384x_drvr_getconfig(hw,
Expand All @@ -1357,7 +1357,7 @@ void prism2sta_processing_defer(struct work_struct *data)
if (result) {
pr_debug("getconfig(0x%02x) failed, result = %d\n",
HFA384x_RID_CURRENTSSID, result);
goto failed;
return;
}
prism2mgmt_bytestr2pstr((hfa384x_bytestr_t *) &ssid,
(p80211pstrd_t *) &wlandev->ssid);
Expand Down Expand Up @@ -1436,14 +1436,10 @@ void prism2sta_processing_defer(struct work_struct *data)
/* This is bad, IO port problems? */
printk(KERN_WARNING
"unknown linkstatus=0x%02x\n", hw->link_status);
goto failed;
break;
return;
}

wlandev->linkstatus = (hw->link_status == HFA384x_LINK_CONNECTED);

failed:
return;
}

/*----------------------------------------------------------------
Expand Down

0 comments on commit 68674c8

Please sign in to comment.