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>
u32 fragthsd;
u32 rtsthsd;
- u16 listeninterval;
u8 txretrycount;
/** Tx-related variables (for single packet tx) */
pos += sizeof(passo->peerstaaddr);
/* set the listen interval */
- passo->listeninterval = cpu_to_le16(adapter->listeninterval);
+ passo->listeninterval = cpu_to_le16(MRVDRV_DEFAULT_LISTEN_INTERVAL);
pos += sizeof(passo->capability);
pos += sizeof(passo->listeninterval);
adapter->psmode = WLAN802_11POWERMODECAM;
- adapter->listeninterval = MRVDRV_DEFAULT_LISTEN_INTERVAL;
-
adapter->psstate = PS_STATE_FULL_POWER;
adapter->needtowakeup = 0;