commit | 904e377744bfdcea276c27167fa6a609929f39dc | [log] [tgz] |
---|---|---|
author | Dominik Brodowski <linux@dominikbrodowski.net> | Sat Jan 02 12:28:04 2010 +0100 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Sun Jan 17 18:30:09 2010 +0100 |
tree | 4dc05b84992a2c35a1933b5b12b44391e0cd4e08 | |
parent | fa0b3bc504ff813cc05988bb30bbb6c6a0263eb4 [diff] |
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>