From df24692c6673622f28c193014c4c21a3d8be2387 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Tue, 19 Jul 2011 10:00:31 -0700 Subject: [PATCH] net: wireless: bcmdhd: Allow empty scan results Signed-off-by: Dmitry Shmidt --- drivers/net/wireless/bcmdhd/wl_iw.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/wireless/bcmdhd/wl_iw.c b/drivers/net/wireless/bcmdhd/wl_iw.c index 75022a4b0170..494538cea186 100644 --- a/drivers/net/wireless/bcmdhd/wl_iw.c +++ b/drivers/net/wireless/bcmdhd/wl_iw.c @@ -4328,10 +4328,6 @@ wl_iw_iscan_get_scan( WL_TRACE(("%s return to WE %d bytes APs=%d\n", __FUNCTION__, dwrq->length, counter)); - - if (!dwrq->length) - return -EAGAIN; - return 0; } #endif -- 2.34.1