diff options
author | Dan Williams <dcbw@redhat.com> | 2008-09-10 12:49:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:20 -0400 |
commit | 39fcf7a315e098430e878a5c0c4d39561c93ebf6 (patch) | |
tree | e616eb6085e4c99c8920edbd6ebbec65627b7445 /drivers/net/wireless/libertas/assoc.c | |
parent | 500c064d3a5f9c8aa604ef63a1346ab70eed443a (diff) |
libertas: convert SNMP_MIB to a direct command
And support setting both long and short retries independently.
Signed-off-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 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index 4ddf44b2758b..92be60415d04 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -823,11 +823,7 @@ static int assoc_helper_mode(struct lbs_private *priv, | |||
823 | } | 823 | } |
824 | 824 | ||
825 | priv->mode = assoc_req->mode; | 825 | priv->mode = assoc_req->mode; |
826 | ret = lbs_prepare_and_send_command(priv, | 826 | ret = lbs_set_snmp_mib(priv, SNMP_MIB_OID_BSS_TYPE, assoc_req->mode); |
827 | CMD_802_11_SNMP_MIB, | ||
828 | 0, CMD_OPTION_WAITFORRSP, | ||
829 | OID_802_11_INFRASTRUCTURE_MODE, | ||
830 | /* Shoot me now */ (void *) (size_t) assoc_req->mode); | ||
831 | 827 | ||
832 | done: | 828 | done: |
833 | lbs_deb_leave_args(LBS_DEB_ASSOC, "ret %d", ret); | 829 | lbs_deb_leave_args(LBS_DEB_ASSOC, "ret %d", ret); |