mac80211: use common skb queue

IBSS, managed and mesh modes all have an
skb queue, and in the future we want to
also use it in other modes, so make them
all use a common skb queue already.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2010-06-10 10:21:30 +02:00
committed by John W. Linville
parent 2a419056c1
commit 35f20c14a1
5 changed files with 20 additions and 34 deletions

View File

@ -340,8 +340,6 @@ struct ieee80211_if_managed {
u16 aid;
struct sk_buff_head skb_queue;
unsigned long timers_running; /* used for quiesce/restart */
bool powersave; /* powersave requested for this iface */
enum ieee80211_smps_mode req_smps, /* requested smps mode */
@ -388,8 +386,6 @@ struct ieee80211_if_ibss {
struct timer_list timer;
struct work_struct work;
struct sk_buff_head skb_queue;
unsigned long request;
unsigned long last_scan_completed;
@ -420,7 +416,6 @@ struct ieee80211_if_mesh {
struct timer_list housekeeping_timer;
struct timer_list mesh_path_timer;
struct timer_list mesh_path_root_timer;
struct sk_buff_head skb_queue;
unsigned long timers_running;
@ -517,6 +512,8 @@ struct ieee80211_sub_if_data {
u16 sequence_number;
struct sk_buff_head skb_queue;
/*
* AP this belongs to: self in AP mode and
* corresponding AP in VLAN mode, NULL for