Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: w35und: Kill _IBSS_BEACON_SEQ_STICK_

This patch kills the _IBSS_BEACON_SEQ_STICK_ ifdefs because the macro is never
defined.

Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Pekka Enberg and committed by
Greg Kroah-Hartman
37b0544a 9618386a

-8
-4
drivers/staging/winbond/mlmetxrx_f.h
··· 16 16 MLME_SendComplete(struct wbsoft_priv *adapter, u8 PacketID, 17 17 unsigned char SendOK); 18 18 19 - #ifdef _IBSS_BEACON_SEQ_STICK_ 20 - s8 SendBCNullData(struct wbsoft_priv *adapter, u16 wIdx); 21 - #endif 22 - 23 19 #endif
-4
drivers/staging/winbond/reg.c
··· 2064 2064 */ 2065 2065 2066 2066 /* M00 bit set */ 2067 - #ifdef _IBSS_BEACON_SEQ_STICK_ 2068 - reg->M00_MacControl = 0; /* Solve beacon sequence number stop by software */ 2069 - #else 2070 2067 reg->M00_MacControl = 0x80000000; /* Solve beacon sequence number stop by hardware */ 2071 - #endif 2072 2068 2073 2069 /* M24 disable enter power save, BB RxOn and enable NAV attack */ 2074 2070 reg->M24_MacControl = 0x08040042;