Search Linux Wireless

Re: [PATCH 2/6] wl12xx: AP mode - don't regulate FW blocks for non-active STAs

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

 



On Wed, 2011-09-14 at 12:44 +0300, Arik Nemtsov wrote: 
> On Thu, Aug 25, 2011 at 13:05, Kalle Valo <kvalo@xxxxxxxxxx> wrote:
> > Arik Nemtsov <arik@xxxxxxxxxx> writes:
> >
> >> +     if (!wl1271_is_active_sta(wl, hlid)) {
> >> +             WARN_ON(1);
> >> +             return;
> >> +     }
> >
> > I think this is neater:
> >
> > if (WARN_ON(!wl1271_is_active_sta(wl, hlid))
> >        return;
> 
> (Sorry for the late response)
> 
> It does look nicer. Luca - do you mind changing it before merging?

Done, and thanks for giving me more work to do! Oh, well, I deserved
it. :P

-- 
Cheers,
Luca.

--
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