|
@@ -94,7 +94,6 @@ static inline void ieee80211_networks_initialize(struct ieee80211_device *ieee)
|
|
|
list_add_tail(&ieee->networks[i].list, &ieee->network_free_list);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
struct net_device *alloc_ieee80211(int sizeof_priv)
|
|
|
{
|
|
|
struct ieee80211_device *ieee;
|
|
@@ -121,7 +120,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
|
|
|
}
|
|
|
ieee80211_networks_initialize(ieee);
|
|
|
|
|
|
-
|
|
|
/* Default fragmentation threshold is maximum payload size */
|
|
|
ieee->fts = DEFAULT_FTS;
|
|
|
ieee->scan_age = DEFAULT_MAX_SCAN_AGE;
|
|
@@ -191,7 +189,6 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
|
|
|
return NULL;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
void free_ieee80211(struct net_device *dev)
|
|
|
{
|
|
|
struct ieee80211_device *ieee = netdev_priv(dev);
|