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

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