mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
staging: vt6656: correct return of vnt_init_registers.
commit 7de6155c89
upstream.
The driver standard error returns remove bool false conditions.
Cc: stable <stable@vger.kernel.org> # v5.3+
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/072ec0b3-425f-277e-130c-1e3a116c90d6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
23533ddf9e
commit
42609009ea
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ static const struct ieee80211_ops vnt_mac_ops = {
|
|||
|
||||
int vnt_init(struct vnt_private *priv)
|
||||
{
|
||||
if (!(vnt_init_registers(priv)))
|
||||
if (vnt_init_registers(priv))
|
||||
return -EAGAIN;
|
||||
|
||||
SET_IEEE80211_PERM_ADDR(priv->hw, priv->permanent_net_addr);
|
||||
|
|
Loading…
Reference in a new issue