Comment 16 for bug 52510

Revision history for this message
In , Fabrice (fabrice-redhat-bugs) wrote :

Created attachment 137504
linux-2.6.17-pcmcia-rescan-when-rewriting-cis.patch

The ret variable is not supposed to be zero here, because it is initialised to
the value of count (size of the cis file), and is only modified when
pcmcia_replace_cis() fails (-EIO). This patch forces a pcmcia_bus_rescan() when
writing a new cis file through the /sys/ interface.