aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-26 09:19:50 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:17 -0400
commitb4010e08907bdafe8bf4a3fe7ef9b52ddec4dda5 (patch)
tree10651fb231ff00dac4735d14079e8e241d44c6ce /net/mac80211/ieee80211.c
parent51617f0b76389b29740aa9d7736df99b75d1d9ec (diff)
[PATCH] mac80211: remove generic IE for AP interfaces
This is not useful since we do not support probe response offload to hardware at this time and beacons are set in another way. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r--net/mac80211/ieee80211.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index 2501bff0d15e..210319f9ea2f 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -615,13 +615,9 @@ static int __ieee80211_if_config(struct net_device *dev,
615 conf.bssid = sdata->u.sta.bssid; 615 conf.bssid = sdata->u.sta.bssid;
616 conf.ssid = sdata->u.sta.ssid; 616 conf.ssid = sdata->u.sta.ssid;
617 conf.ssid_len = sdata->u.sta.ssid_len; 617 conf.ssid_len = sdata->u.sta.ssid_len;
618 conf.generic_elem = sdata->u.sta.extra_ie;
619 conf.generic_elem_len = sdata->u.sta.extra_ie_len;
620 } else if (sdata->type == IEEE80211_IF_TYPE_AP) { 618 } else if (sdata->type == IEEE80211_IF_TYPE_AP) {
621 conf.ssid = sdata->u.ap.ssid; 619 conf.ssid = sdata->u.ap.ssid;
622 conf.ssid_len = sdata->u.ap.ssid_len; 620 conf.ssid_len = sdata->u.ap.ssid_len;
623 conf.generic_elem = sdata->u.ap.generic_elem;
624 conf.generic_elem_len = sdata->u.ap.generic_elem_len;
625 conf.beacon = beacon; 621 conf.beacon = beacon;
626 conf.beacon_control = control; 622 conf.beacon_control = control;
627 } 623 }