Skip to content
Commit ab65f649 authored by Kiran Divekar's avatar Kiran Divekar Committed by John W. Linville
Browse files

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: default avatarKiran Divekar <dkiran@marvell.com>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Tested-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0c9a3aaa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment