aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHong Liu <hong.liu@intel.com>2006-03-07 21:50:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-15 16:16:07 -0500
commit72df16f109b73be37977a26d342e9103e8851cb6 (patch)
tree612e08a13421387f7b82a9c89d2f9b38f711630c
parent0df7861240b3484dea52d1f5782c69fd95b6cf23 (diff)
[PATCH] ieee80211: Fix QoS is not active problem
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>
-rw-r--r--net/ieee80211/ieee80211_rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c
index b410ab8bcf7a..7ac6a7165d9c 100644
--- a/net/ieee80211/ieee80211_rx.c
+++ b/net/ieee80211/ieee80211_rx.c
@@ -1417,10 +1417,10 @@ static void ieee80211_process_probe_response(struct ieee80211_device
1417 1417
1418 if (is_beacon(beacon->header.frame_ctl)) { 1418 if (is_beacon(beacon->header.frame_ctl)) {
1419 if (ieee->handle_beacon != NULL) 1419 if (ieee->handle_beacon != NULL)
1420 ieee->handle_beacon(dev, beacon, &network); 1420 ieee->handle_beacon(dev, beacon, target);
1421 } else { 1421 } else {
1422 if (ieee->handle_probe_response != NULL) 1422 if (ieee->handle_probe_response != NULL)
1423 ieee->handle_probe_response(dev, beacon, &network); 1423 ieee->handle_probe_response(dev, beacon, target);
1424 } 1424 }
1425} 1425}
1426 1426