diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:09:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:03 -0400 |
commit | 56c4656e84d068ecc4da670799216e5b2aaee50e (patch) | |
tree | b1a6a1c450465af0c68f460f92af749e22119c8a /drivers/net/wireless/libertas/cmd.c | |
parent | 252cf0d10f76d3edcd808d462dcfbd544875a0be (diff) |
[PATCH] libertas: remove adapter->multipledtim
multipledtim was initialized with MRVDRV_DEFAULT_MULTIPLE_DTIM and then
kept at that value, so we could use that define directly.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 276d981e7d3d..517489a06063 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -71,7 +71,7 @@ static int wlan_cmd_802_11_ps_mode(wlan_private * priv, | |||
71 | psm->locallisteninterval = 0; | 71 | psm->locallisteninterval = 0; |
72 | psm->nullpktinterval = 0; | 72 | psm->nullpktinterval = 0; |
73 | psm->multipledtim = | 73 | psm->multipledtim = |
74 | cpu_to_le16(priv->adapter->multipledtim); | 74 | cpu_to_le16(MRVDRV_DEFAULT_MULTIPLE_DTIM); |
75 | break; | 75 | break; |
76 | 76 | ||
77 | case CMD_SUBCMD_EXIT_PS: | 77 | case CMD_SUBCMD_EXIT_PS: |