aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r--net/mac80211/ieee80211_sta.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 87830c04a1ca..3c552fed2af5 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -3260,31 +3260,6 @@ ieee80211_sta_scan_result(struct net_device *dev,
3260 } 3260 }
3261 } 3261 }
3262 3262
3263 do {
3264 char *buf;
3265
3266 buf = kmalloc(100, GFP_ATOMIC);
3267 if (!buf)
3268 break;
3269
3270 memset(&iwe, 0, sizeof(iwe));
3271 iwe.cmd = IWEVCUSTOM;
3272 sprintf(buf, "bcn_int=%d", bss->beacon_int);
3273 iwe.u.data.length = strlen(buf);
3274 current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,
3275 buf);
3276
3277 memset(&iwe, 0, sizeof(iwe));
3278 iwe.cmd = IWEVCUSTOM;
3279 sprintf(buf, "capab=0x%04x", bss->capability);
3280 iwe.u.data.length = strlen(buf);
3281 current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,
3282 buf);
3283
3284 kfree(buf);
3285 break;
3286 } while (0);
3287
3288 return current_ev; 3263 return current_ev;
3289} 3264}
3290 3265