From: Stanislaw Gruszka Date: Fri, 24 Jun 2011 09:34:34 +0000 (+0200) Subject: iwlagn: fix rmmod crash X-Git-Tag: v3.1-rc1~316^2~232^2^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=428bc8c3960d2b18cb9f0d90cfe197ec9a822a54;p=pandora-kernel.git iwlagn: fix rmmod crash priv->bus.bus_specific pointer is used after priv structures was freed, in iwl_pci_remove(), what make ugly rmmod crash. This bug was introduced by current pci changes. On the way remove fake check, if prober error code is returned from .probe() function, .remove() will never be called be null drvdata. Signed-off-by: Stanislaw Gruszka Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed