Subject: Re: [PATCH] d80211: fix some 0 vs. NULL comparisons

From: Johannes Berg <[email-masked]>
Date: Mon, 14 Aug 2006 15:20:58 +0200

Johannes Berg wrote:
> -    if (!local->hw->passive_scan) {
> +    if (local->hw->passive_scan == NULL) {

Alright, this is icky. I'll make another pass and change it all to if 
(x) or if (!x) instead of comparing to NULL. Don't hold your breath 
though, earliest next weekend.

johannes