Dominik Brodowski 904e377744 pcmcia: validate CIS, not CIS cache.
In pccard_validate_cis(), validate the card CIS, not the CIS cache.
Also, destroy the CIS cache if pccard_validate_cis fails.

Furthermore, do not remove the fake CIS in destroy_cis_cache() but
do so explicitely in the code paths where it makes sense.

Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2010-01-17 18:30:09 +01:00
..
2008-08-29 09:43:14 +02:00
2009-10-24 17:13:01 +02:00
2010-01-17 18:30:09 +01:00
2010-01-17 18:30:09 +01:00
2008-06-24 15:33:37 +02:00
2009-10-24 17:13:01 +02:00
2009-12-07 22:23:40 +01:00
2009-12-07 22:23:40 +01:00
2009-12-07 22:23:40 +01:00
2009-12-07 22:23:40 +01:00