libertas: stop using ieee80211 for radiotap device
There seems to be no point in doing it as an ieee80211 device instead of a normal netdev, and when we override its ->priv and then call free_ieee80211() it has a distressing tendency to crash horribly. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
David S. Miller

parent
198cefb932
commit
d9268fb9a1
@@ -10,7 +10,6 @@
|
||||
#include <linux/wireless.h>
|
||||
#include <linux/ethtool.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <net/ieee80211.h>
|
||||
|
||||
#include "defs.h"
|
||||
#include "scan.h"
|
||||
@@ -114,7 +113,6 @@ struct lbs_private {
|
||||
struct net_device_stats stats;
|
||||
struct net_device *mesh_dev; /* Virtual device */
|
||||
struct net_device *rtap_net_dev;
|
||||
struct ieee80211_device *ieee;
|
||||
|
||||
struct iw_statistics wstats;
|
||||
struct lbs_mesh_stats mstats;
|
||||
|
Reference in New Issue
Block a user