Search Linux Wireless

Re: [PATCH] mwifiex: remove wireless.h inclusion and fix resulting bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux