diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:10:59 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:05 -0400 |
commit | 0aabc0a5d5657df254255c9049a97cc96229bcba (patch) | |
tree | 8015e46338c431168fa7da33394041f52ad445f8 /drivers/net/wireless/libertas/main.c | |
parent | 956deb867a97ac137c164a5d2d12b0c82fb6776d (diff) |
[PATCH] libertas: remove adapter->listeninterval
listeninterval was initialized with MRVDRV_DEFAULT_LISTEN_INTERVAL, but
there exists that would ever change it. So we can use this 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/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index d227e453f984..d3316e413465 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -1051,8 +1051,6 @@ static void wlan_init_adapter(wlan_private * priv) | |||
1051 | 1051 | ||
1052 | adapter->psmode = WLAN802_11POWERMODECAM; | 1052 | adapter->psmode = WLAN802_11POWERMODECAM; |
1053 | 1053 | ||
1054 | adapter->listeninterval = MRVDRV_DEFAULT_LISTEN_INTERVAL; | ||
1055 | |||
1056 | adapter->psstate = PS_STATE_FULL_POWER; | 1054 | adapter->psstate = PS_STATE_FULL_POWER; |
1057 | adapter->needtowakeup = 0; | 1055 | adapter->needtowakeup = 0; |
1058 | 1056 | ||