[PATCH] ieee80211: Fix QoS is not active problem
authorHong Liu <hong.liu@intel.com>
Wed, 8 Mar 2006 02:50:20 +0000 (10:50 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Mar 2006 21:16:07 +0000 (16:16 -0500)
Fix QoS is not active even the network and the card is QOS enabled.
The problem is we pass the wrong ieee80211_network address to
ipw_handle_beacon/ipw_handle_probe_response, thus the
ieee80211_network->qos_data.active will not be set, causing the driver
not sending QoS frames at all.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_rx.c

index b410ab8bcf7afaa3d06b72265eb90d8db75ba97c..7ac6a7165d9c3d01eec2d084daa12badd2ecaa57 100644 (file)
@@ -1417,10 +1417,10 @@ static void ieee80211_process_probe_response(struct ieee80211_device
 
        if (is_beacon(beacon->header.frame_ctl)) {
                if (ieee->handle_beacon != NULL)
-                       ieee->handle_beacon(dev, beacon, &network);
+                       ieee->handle_beacon(dev, beacon, target);
        } else {
                if (ieee->handle_probe_response != NULL)
-                       ieee->handle_probe_response(dev, beacon, &network);
+                       ieee->handle_probe_response(dev, beacon, target);
        }
 }