staging: rtl8188eu: core: Change function parameter to bool
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Thu, 29 Oct 2015 11:04:06 +0000 (16:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
Change int wait_ack to bool wait_ack as it only takes true or false as its argument.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c

index 687f0c2206cf66173cc189fb0a666d0333f41dc4..a9bff48868ef4ba925f5fc19546bd62c2b0d8327 100644 (file)
@@ -609,7 +609,7 @@ static void issue_probersp(struct adapter *padapter, unsigned char *da)
        return;
 }
 
-static int issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, int wait_ack)
+static int issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, bool wait_ack)
 {
        int ret = _FAIL;
        struct xmit_frame               *pmgntframe;