net: wireless: bcmdhd: Ignore WL_BSS_INFO_VERSION value
Dmitry Shmidt [Mon, 25 Jul 2011 16:53:20 +0000 (09:53 -0700)]
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

drivers/net/wireless/bcmdhd/wl_cfg80211.c

index 56c8a11..b7a8a7e 100644 (file)
@@ -3938,11 +3938,13 @@ static s32 wl_inform_bss(struct wl_priv *wl)
        s32 i;
 
        bss_list = wl->bss_list;
+#if 0
        if (unlikely(bss_list->version != WL_BSS_INFO_VERSION)) {
                WL_ERR(("Version %d != WL_BSS_INFO_VERSION\n",
                        bss_list->version));
                return -EOPNOTSUPP;
        }
+#endif
        WL_DBG(("scanned AP count (%d)\n", bss_list->count));
        bi = next_bss(bss_list, bi);
        for_each_bss(bss_list, bi, i) {