From: Kiran Divekar Date: Fri, 20 Feb 2009 00:32:39 +0000 (-0500) Subject: libertas: fix misuse of netdev_priv() and dev->ml_priv X-Git-Tag: v2.6.29-rc7~13^2~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab65f649d38d910f48843a275f3f0596cdbf28bf;p=pandora-kernel.git libertas: fix misuse of netdev_priv() and dev->ml_priv The mesh and radiotap interfaces need to use the same private data as the main wifi interface. If the main wifi interface uses netdev_priv(), but the other interfaces ->ml_priv, there's no way to figure out where the private data actually is in the WEXT handlers and netdevice callbacks. So make everything use ->ml_priv. Fixes botched netdev_priv() conversion introduced by "netdevice libertas: Fix directly reference of netdev->priv", though admittedly libertas' use of ->priv was somewhat "special". Signed-off-by: Kiran Divekar Acked-by: Dan Williams Tested-by: Chris Ball Signed-off-by: John W. Linville --- Reading git-diff-tree failed