OSDN Git Service

net: wireless: bcmdhd: Allow empty scan results
authorDmitry Shmidt <dimitrysh@google.com>
Tue, 19 Jul 2011 17:00:31 +0000 (10:00 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Fri, 22 Jul 2011 00:14:15 +0000 (17:14 -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