diff options
author | Kiran Divekar <dkiran@marvell.com> | 2009-02-19 19:32:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-26 15:15:44 -0500 |
commit | ab65f649d38d910f48843a275f3f0596cdbf28bf (patch) | |
tree | 5e1dbf7d3af66ceae64b5f920df42f920bde6ae3 /drivers/net/ppp_synctty.c | |
parent | 0c9a3aaaf30e1d1994de58c554ef97a719e20892 (diff) |
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 <dkiran@marvell.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Tested-by: Chris Ball <cjb@laptop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/ppp_synctty.c')
0 files changed, 0 insertions, 0 deletions