Merge branch 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[firefly-linux-kernel-4.4.55.git] / drivers / staging / rtl8712 / rtl871x_ioctl_set.c
index 8486eb1503cc0884e9b518803d78a64c3f4b33e5..fb29b423752f652211cf827252d89638ad6cd853 100644 (file)
@@ -243,7 +243,7 @@ done:
        spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
 }
 
-u8 r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
+void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
        enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype)
 {
        unsigned long irqL;
@@ -290,7 +290,6 @@ u8 r8712_set_802_11_infrastructure_mode(struct _adapter *padapter,
                }
                spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
        }
-       return true;
 }
 
 u8 r8712_set_802_11_disassociate(struct _adapter *padapter)