summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/join.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 21:10:05 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 03:50:04 +0400
commitae596ce2f77d1542fe44ea483bd0ca7f61baeccd (patch)
tree6f68c8dc6259a6b197ae75b94a08d69c3fa7a65b /drivers/net/wireless/libertas/join.c
parent56c4656e84d068ecc4da670799216e5b2aaee50e (diff)
downloadlinux-ae596ce2f77d1542fe44ea483bd0ca7f61baeccd.tar.xz
[PATCH] libertas: remove adapter->atimwindow
This varaible was initialized with 0 but there is no code that would ever change it's value. So it can go away. 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/join.c')
-rw-r--r--drivers/net/wireless/libertas/join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 08034917d4b5..0bded0c91495 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -518,7 +518,7 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
adhs->ssparamset.ibssparamset.elementid = IBSS_PARA_IE_ID;
adhs->ssparamset.ibssparamset.len = IBSS_PARA_IE_LEN;
- adhs->ssparamset.ibssparamset.atimwindow = cpu_to_le16(adapter->atimwindow);
+ adhs->ssparamset.ibssparamset.atimwindow = 0;
/* set capability info */
tmpcap = WLAN_CAPABILITY_IBSS;