On Wed, 2011-07-13 at 18:38 -0700, Bing Zhao wrote: > /* Allocate buffer to store the BSSID list */ > - buf_size = sizeof(struct mwifiex_bssdescriptor) * IW_MAX_AP; > + buf_size = sizeof(struct mwifiex_bssdescriptor) * MWIFIEX_MAX_AP; By the way, why does mwifiex store "the BSSID list" in a statically sized table? It seems that this shouldn't be necessary since cfg80211 stores it in a dynamic list and lets drivers get information out again as well. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html