Search Linux Wireless

Re: [PATCH] rt2x00: Use addr_mask to catch invalid MAC addresses (rt61pci, rt73usb)

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

 



Hi,

On Wed, Nov 28, 2012 at 8:57 AM, Gertjan van Wingerde
<gwingerde@xxxxxxxxx> wrote:
> I think it is possible to collapse your rt2800 related patch and this
> patch with a single patch only touching generic rt2x00 code.
>
> We could use the max_ap_intf field of the rt2x00_ops struct to
> determine the mask in a generic manner.
>
> So, we could have the following statement in generic code (e.g. in
> rt2x00lib_probe_dev):
>
>         rt2x00dev->hw->wiphy->addr_mask[ETH_ALEN - 1] =
> (rt2x00dev->ops->max_ap_intf - 1);

Good point. I'll change that accordingly.

Thanks,
Helmut
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux