From 88dda12d3b1073da3bcddb23d87c8befbd0ffea3 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sun, 21 Jul 2013 21:40:46 -0500 Subject: [PATCH] rtl8188eu: Remove CHECK_EVENT_SEQ - not defined Signed-off-by: Larry Finger --- core/rtw_mlme_ext.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 2792302..41b9722 100644 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -9539,13 +9539,9 @@ _func_exit_; return res; } - u8 mlme_evt_hdl(_adapter *padapter, unsigned char *pbuf) { u8 evt_code; - #ifdef CHECK_EVENT_SEQ - u8 evt_seq; - #endif u16 evt_sz; uint *peventbuf; void (*event_callback)(_adapter *dev, u8 *pbuf); @@ -9553,24 +9549,8 @@ u8 mlme_evt_hdl(_adapter *padapter, unsigned char *pbuf) peventbuf = (uint*)pbuf; evt_sz = (u16)(*peventbuf&0xffff); - #ifdef CHECK_EVENT_SEQ - evt_seq = (u8)((*peventbuf>>24)&0x7f); - #endif evt_code = (u8)((*peventbuf>>16)&0xff); - - #ifdef CHECK_EVENT_SEQ - /* checking event sequence... */ - if (evt_seq != (ATOMIC_READ(&pevt_priv->event_seq) & 0x7f) ) - { - RT_TRACE(_module_rtl871x_cmd_c_,_drv_info_,("Evetn Seq Error! %d vs %d\n", (evt_seq & 0x7f), (ATOMIC_READ(&pevt_priv->event_seq) & 0x7f))); - - pevt_priv->event_seq = (evt_seq+1)&0x7f; - - goto _abort_event_; - } - #endif - /* checking if event code is valid */ if (evt_code >= MAX_C2HEVT) {