Skip to content

Commit

Permalink
Staging: w35und: Kill _IBSS_BEACON_SEQ_STICK_
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Dec 1, 2010
1 parent 9618386 commit 37b0544
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/winbond/mlmetxrx_f.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,4 @@ void
MLME_SendComplete(struct wbsoft_priv *adapter, u8 PacketID,
unsigned char SendOK);

#ifdef _IBSS_BEACON_SEQ_STICK_
s8 SendBCNullData(struct wbsoft_priv *adapter, u16 wIdx);
#endif

#endif
4 changes: 0 additions & 4 deletions drivers/staging/winbond/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 37b0544

Please sign in to comment.