mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
staging: rtl8192e: Remove function _rtl92e_wx_set_scan_type()
Remove function _rtl92e_wx_set_scan_type() as this functionality is not commonly used and the tool to access it is deprecated. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/8a0ce95447dbd736e3aeec5f7aa0e997f916b7d8.1696548527.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
22448f0131
commit
c5b5d02f9b
1 changed files with 0 additions and 20 deletions
|
@ -627,22 +627,6 @@ static int _rtl92e_wx_set_enc(struct net_device *dev,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _rtl92e_wx_set_scan_type(struct net_device *dev,
|
|
||||||
struct iw_request_info *aa,
|
|
||||||
union iwreq_data *wrqu, char *p)
|
|
||||||
{
|
|
||||||
struct r8192_priv *priv = rtllib_priv(dev);
|
|
||||||
int *parms = (int *)p;
|
|
||||||
int mode = parms[0];
|
|
||||||
|
|
||||||
if (priv->hw_radio_off)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
priv->rtllib->active_scan = mode;
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define R8192_MAX_RETRY 255
|
#define R8192_MAX_RETRY 255
|
||||||
static int _rtl92e_wx_set_retry(struct net_device *dev,
|
static int _rtl92e_wx_set_retry(struct net_device *dev,
|
||||||
struct iw_request_info *info,
|
struct iw_request_info *info,
|
||||||
|
@ -896,16 +880,12 @@ static const struct iw_priv_args r8192_private_args[] = {
|
||||||
{
|
{
|
||||||
SIOCIWFIRSTPRIV + 0x0,
|
SIOCIWFIRSTPRIV + 0x0,
|
||||||
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "set_debugflag"
|
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "set_debugflag"
|
||||||
}, {
|
|
||||||
SIOCIWFIRSTPRIV + 0x1,
|
|
||||||
IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "activescan"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static iw_handler r8192_private_handler[] = {
|
static iw_handler r8192_private_handler[] = {
|
||||||
(iw_handler)_rtl92e_wx_set_debug, /*SIOCIWSECONDPRIV*/
|
(iw_handler)_rtl92e_wx_set_debug, /*SIOCIWSECONDPRIV*/
|
||||||
(iw_handler)_rtl92e_wx_set_scan_type,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct iw_statistics *_rtl92e_get_wireless_stats(struct net_device *dev)
|
static struct iw_statistics *_rtl92e_get_wireless_stats(struct net_device *dev)
|
||||||
|
|
Loading…
Reference in a new issue