Search Linux Wireless

Re: Warning in latest wireless-testing

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

 



On Wed, Jan 14, 2009 at 01:06:10AM +0100, Johannes Berg wrote:
> On Tue, 2009-01-13 at 17:59 -0600, Larry Finger wrote:
> > In the latest pull from wireless testing, I get the following warning:
> > 
> >   CC [M]  drivers/net/wireless/b43/main.o
> > drivers/net/wireless/b43/main.c: In function ‘b43_op_set_key’:
> > drivers/net/wireless/b43/main.c:3636: warning: pointer type mismatch
> > in conditional expression
> 
> That looks like a merge error:

Yes, it is.

>                 b43dbg(wl, "%s hardware based encryption for keyidx: %d, "
>                        "mac: %pM\n",
>                        cmd == SET_KEY ? "Using" : "Disabling", key->keyidx,
>                        sta ? sta->addr : "<group key>");
> 
> It should be something like
> 
> u8 bcast[ETH_ALEN] = {0xff,...}
> 
> sta ? sta->addr : bcast
> 
> there.

Yes, it should.

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
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