From: Sven Neumann Date: Wed, 24 Nov 2010 16:02:00 +0000 (+0000) Subject: libertas: fix invalid access X-Git-Tag: v2.6.37-rc6~14^2~37^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ccdf0dbc84b11bc8b7fdbad66804d06a683554;p=pandora-kernel.git libertas: fix invalid access card->priv must not be accessed after lbs_remove_card() was called as lbs_remove_card() frees card->priv via free_netdev(). For libertas_sdio this is a regression introduced by 23b149c1890f9. The correct fix to the issue described there is simply to remove the assignment. This flag is set at the appropriate time inside lbs_remove_card anyway. Reported-by: Daniel Drake Signed-off-by: Sven Neumann Signed-off-by: Daniel Drake Signed-off-by: John W. Linville --- Reading git-diff-tree failed