Skip to content

Commit 7de6155

Browse files
Malcolm Priestleygregkh
authored andcommitted
staging: vt6656: correct return of vnt_init_registers.
The driver standard error returns remove bool false conditions. Cc: stable <[email protected]> # v5.3+ Signed-off-by: Malcolm Priestley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 58c3e68 commit 7de6155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/vt6656/main_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ static const struct ieee80211_ops vnt_mac_ops = {
949949

950950
int vnt_init(struct vnt_private *priv)
951951
{
952-
if (!(vnt_init_registers(priv)))
952+
if (vnt_init_registers(priv))
953953
return -EAGAIN;
954954

955955
SET_IEEE80211_PERM_ADDR(priv->hw, priv->permanent_net_addr);

0 commit comments

Comments
 (0)