Remove unsupported mode IW_MODE_ADHOC because this mode is only partially coded in the driver. This patch series removes the unused functions. Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. Philipp Hortmann (7): staging: rtl8192e: Remove mode IW_MODE_ADHOC from rtllib_tx.c staging: rtl8192e: Remove mode IW_MODE_ADHOC from rtllib_rx.c staging: rtl8192e: Remove mode IW_MODE_ADHOC from rtl_core.c staging: rtl8192e: Remove mode IW_MODE_ADHOC from rtl_cam.c staging: rtl8192e: Remove mode IW_MODE_ADHOC from rtllib_softmac.c staging: rtl8192e: Remove delayed_work start_ibss_wq staging: rtl8192e: Remove rtllib_stop_send_beacons .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 44 +-- .../staging/rtl8192e/rtl8192e/r8192E_dev.h | 1 - drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 61 +--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 22 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 2 - drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 5 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 64 +---- drivers/staging/rtl8192e/rtl819x_TSProc.c | 21 +- drivers/staging/rtl8192e/rtllib.h | 23 -- drivers/staging/rtl8192e/rtllib_rx.c | 38 --- drivers/staging/rtl8192e/rtllib_softmac.c | 264 +----------------- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 10 - drivers/staging/rtl8192e/rtllib_tx.c | 11 +- 14 files changed, 22 insertions(+), 550 deletions(-) -- 2.42.0