diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-01-08 13:49:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:18:15 +0100 |
commit | c87c2b0d3ed07ef0f796cbba1037934111fb3c12 (patch) | |
tree | 96f8dd4076991b880841e796d1ed3f5856f9056e /drivers/staging/r8188eu/os_dep/ioctl_linux.c | |
parent | 5495a7ea927935b957a3cc6f7ce6f5520ebbbeff (diff) | |
download | linux-c87c2b0d3ed07ef0f796cbba1037934111fb3c12.tar.bz2 |
staging: r8188eu: we always enqueue in rtw_set_chplan_cmd
The only caller of rtw_set_chplan_cmd requests that the message be
enqueued and not sent directly.
Remove the enqueue parameter and the code for direct sending.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220108124959.313215-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/os_dep/ioctl_linux.c')
-rw-r--r-- | drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c index 41b457838a5b..b9f9698d70cf 100644 --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c @@ -2098,7 +2098,7 @@ static int rtw_wx_set_channel_plan(struct net_device *dev, struct mlme_priv *pmlmepriv = &padapter->mlmepriv; u8 channel_plan_req = (u8)(*((int *)wrqu)); - if (_SUCCESS == rtw_set_chplan_cmd(padapter, channel_plan_req, 1)) + if (_SUCCESS == rtw_set_chplan_cmd(padapter, channel_plan_req)) DBG_88E("%s set channel_plan = 0x%02X\n", __func__, pmlmepriv->ChannelPlan); else return -EPERM; |