mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 20:02:10 -04:00
staging: rtl8192e: Remove unsupported mode IW_MODE_ADHOC
Remove unsupported mode IW_MODE_ADHOC because this mode is only partially coded in the driver. rtllib_rx_mgt() can only handle probe requests in IW_MODE_ADHOC and no authentication or association frames. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20230827132704.GA12506@matrix-ESPRIMO-P710 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4c5ba1d7a9
commit
b50d2a8c86
@@ -258,7 +258,6 @@ int rtllib_wx_set_mode(struct rtllib_device *ieee, struct iw_request_info *a,
|
||||
mutex_lock(&ieee->wx_mutex);
|
||||
switch (wrqu->mode) {
|
||||
case IW_MODE_MONITOR:
|
||||
case IW_MODE_ADHOC:
|
||||
case IW_MODE_INFRA:
|
||||
break;
|
||||
case IW_MODE_AUTO:
|
||||
|
||||
Reference in New Issue
Block a user