Search Linux Wireless

Re: [PATCH] Add iwlwifi wireless drivers [part 2/2]

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

 



On Wed, 16 May 2007 20:35:05 -0700
Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> On Wed, 16 May 2007 14:45:32 -0700 James Ketrenos wrote:
> 
> > This patch adds the iwlwifi project directory and sources needed to 
> > build the mac80211 based wireless drivers for the Intel PRO/Wireless 
> > 3945ABG/BG Network Connection and Intel Wireless WiFi Link AGN adapters.
> > 
> > Signed-off-by: James Ketrenos <jketreno@xxxxxxxxxxxxxxx>
> > 
> > NOTE:  The patch is 597k and can be found at:
> > 
> > 	http://intellinuxwireless.org/iwlwifi/0001-Add-iwlwifi-wireless-drivers.patch
> > 
> > Patch is against wireless-dev commit-id be8662897~
> 
> 
> 1.  Can't this:
> 
> +	if (sizeof(priv->eeprom) != 1024) {
> +		IWL_ERROR("EEPROM structure size incorrect!\n");
> +		return -EINVAL;
> +	}
> 
> use this instead of 1024 ?
> +#define IWL4965_EEPROM_IMAGE_SIZE  (0x200 * sizeof(u16))

Why not BUILD_BUG_ON()?


-- 
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
-
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