diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index c56082cd5264..eaedff8ae2e2 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -5605,34 +5605,32 @@ exit: } static struct fwevent wlanevents[] = { - {0, rtw_dummy_event_callback}, /*0*/ - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, &rtw_survey_event_callback}, /*8*/ - {sizeof(struct surveydone_event), &rtw_surveydone_event_callback}, /*9*/ - - {0, &rtw_joinbss_event_callback}, /*10*/ - {sizeof(struct stassoc_event), &rtw_stassoc_event_callback}, - {sizeof(struct stadel_event), &rtw_stadel_event_callback}, - {0, rtw_dummy_event_callback}, - {0, rtw_dummy_event_callback}, - {0, NULL}, /*15*/ - {0, NULL}, - {0, NULL}, - {0, NULL}, - {0, rtw_fwdbg_event_callback}, - {0, NULL}, /*20*/ - {0, NULL}, - {0, NULL}, - {0, &rtw_cpwm_event_callback}, - {0, NULL}, - {0, &rtw_wmm_event_callback}, - + {0, rtw_dummy_event_callback}, /* 0 */ + {0, NULL}, /* 1 */ + {0, NULL}, /* 2 */ + {0, NULL}, /* 3 */ + {0, NULL}, /* 4 */ + {0, NULL}, /* 5 */ + {0, NULL}, /* 6 */ + {0, NULL}, /* 7 */ + {0, rtw_survey_event_callback}, /* 8 */ + {sizeof(struct surveydone_event), rtw_surveydone_event_callback}, /* 9 */ + {0, rtw_joinbss_event_callback}, /* 10 */ + {sizeof(struct stassoc_event), rtw_stassoc_event_callback}, /* 11 */ + {sizeof(struct stadel_event), rtw_stadel_event_callback}, /* 12 */ + {0, rtw_dummy_event_callback}, /* 13 */ + {0, rtw_dummy_event_callback}, /* 14 */ + {0, NULL}, /* 15 */ + {0, NULL}, /* 16 */ + {0, NULL}, /* 17 */ + {0, NULL}, /* 18 */ + {0, rtw_fwdbg_event_callback}, /* 19 */ + {0, NULL}, /* 20 */ + {0, NULL}, /* 21 */ + {0, NULL}, /* 22 */ + {0, rtw_cpwm_event_callback}, /* 23 */ + {0, NULL}, /* 24 */ + {0, rtw_wmm_event_callback}, /* 25 */ }; u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf)