net: wireless: bcmdhd: Allow empty scan results
Dmitry Shmidt [Tue, 19 Jul 2011 17:00:31 +0000 (10:00 -0700)]
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

drivers/net/wireless/bcmdhd/wl_iw.c

index 75022a4..494538c 100644 (file)
@@ -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