[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2e838551-e6a3-df5d-a889-baf60c7f99fd@gmail.com>
Date: Tue, 2 Aug 2022 23:10:21 +0300
From: Pavel Skripkin <paskripkin@...il.com>
To: Phillip Potter <phil@...lpotter.co.uk>, gregkh@...uxfoundation.org
Cc: Larry.Finger@...inger.net, dan.carpenter@...cle.com,
martin@...ser.cx, straube.linux@...il.com, fmdefrancesco@...il.com,
abdun.nihaal@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] staging: r8188eu: convert rtw_set_802_11_add_wep
error code semantics
Hi Phillip,
Phillip Potter <phil@...lpotter.co.uk> says:
> - if (!rtw_set_802_11_add_wep(padapter, &wep)) {
> + if (rtw_set_802_11_add_wep(padapter, &wep)) {
> if (rf_on == pwrpriv->rf_pwrstate)
> ret = -EOPNOTSUPP;
> goto exit;
is it intentional to ignore an error in case of rf_on !=
pwrpriv->rf_pwrstate?
With regards,
Pavel Skripkin
Powered by blists - more mailing lists