summaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/reg.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2010-11-28 21:00:04 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-01 22:45:46 (GMT)
commit37b0544a4a455609cbf25fa56441a6f1221dec85 (patch)
tree80a4e4a862a0b2f4e9fe90b361adb3404a475eb6 /drivers/staging/winbond/reg.c
parent9618386a4e58e0459932846d9b07fa81225840d3 (diff)
downloadlinux-37b0544a4a455609cbf25fa56441a6f1221dec85.tar.xz
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>
Diffstat (limited to 'drivers/staging/winbond/reg.c')
-rw-r--r--drivers/staging/winbond/reg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/winbond/reg.c b/drivers/staging/winbond/reg.c
index 4d2c6a1..1b38d6d 100644
--- a/drivers/staging/winbond/reg.c
+++ b/drivers/staging/winbond/reg.c
@@ -2064,11 +2064,7 @@ void Mxx_initial(struct hw_data *pHwData)
*/
/* M00 bit set */
- #ifdef _IBSS_BEACON_SEQ_STICK_
- reg->M00_MacControl = 0; /* Solve beacon sequence number stop by software */
- #else
reg->M00_MacControl = 0x80000000; /* Solve beacon sequence number stop by hardware */
- #endif
/* M24 disable enter power save, BB RxOn and enable NAV attack */
reg->M24_MacControl = 0x08040042;