Re: [PATCH] staging: vt6656: simplified tests involving both multi/broad-casts

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

 



On Mon, 2010-08-02 at 19:59 -0300, Andres More wrote:
> +		if (is_multicast_ether_addr(&(psEthHeader->abyDstAddr[0]))) {

Perhaps these are more readable as:

		if (is_multicast_ether_addr(psEthHeader->abyDstAddr)) {

> +    if (is_multicast_ether_addr(&(pPacket->p80211Header->sA3.abyAddr1[0]))) {

	if (is_multicast_ether_addr(pPacket->p80211Header->sA3.abyAddr1)) {

> +    if (is_multicast_ether_addr(&(p80211Header->sA3.abyAddr1[0]))) {

	if (is_multicast_ether_addr(p80211Header->sA3.abyAddr1)) {


_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux