pcmcia: fix cisinfo_t removal
authorMarc Zyngier <maz@misterjones.org>
Tue, 15 Jul 2008 13:26:15 +0000 (15:26 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Tue, 15 Jul 2008 18:53:06 +0000 (20:53 +0200)
commit002b90a1bf5fe9c8de7a8634403a685621841ff3
treeeb0526d8a3f88ed1a2f7c202e833c5ad870e977b
parentd93c768e66d8c3970187c179a91a2553b077d9e8
pcmcia: fix cisinfo_t removal

The cisinfo_t removal patch (c5081d5f4775b2a3f858f91151bbf9163e473075
pcmcia: simplify pccard_validate_cis ) introduced a bug that prevented
card detection, for the (info->Chains == MAX_TUPLES) check was replaced
by (count), which is always true. Restoring the comparison to MAX_TUPLES
makes everybody happy...

[linux@dominikbrodowski.net: update changelog comment]
Signed-off-by: Marc Zyngier <marc.zyngier@altran.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cistpl.c