staging: brcm80211: modify the FOREACH_BSS macro
authorArend van Spriel <arend@broadcom.com>
Mon, 8 Aug 2011 13:58:02 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 19:59:55 +0000 (12:59 -0700)
commit49552d332bf72d08701ee92b99f2408017910efb
treeb5bd9fa645ea21880dbb4ede0d1d6d2ff19eb3d2
parent0da649102e6b2efc772b48ab7d1f70b9486ac6f1
staging: brcm80211: modify the FOREACH_BSS macro

The FOREACH_BSS macro was changed to remove a checkpatch error. However,
the patch was considered ugly. This patch is another attempt to make it
more clear. END_FOREACH_BSS is defined with braces to avoid an invalid
checkpatch.pl warning. Ideally, the checkpatch.pl script should be adapted
but lacking good perl knowledge to do so.

Reported-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/main.c