]> err.no Git - linux-2.6/commitdiff
mac80211: remove "bcn_int" and "capab" scan results info
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Nov 2007 16:54:22 +0000 (11:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:34 +0000 (14:55 -0800)
These bits were dead code before "mac80211: Remove local->scan_flags"
(commit 6681dd3fd0e4d36a4547415853e83411baa7b705) and probably should
have been removed as part of that commit.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_sta.c

index 87830c04a1caf4d1904da04efa169162b9060d9c..3c552fed2af51afd53752d9f5565a70d6e5a65d9 100644 (file)
@@ -3260,31 +3260,6 @@ ieee80211_sta_scan_result(struct net_device *dev,
                }
        }
 
-       do {
-               char *buf;
-
-               buf = kmalloc(100, GFP_ATOMIC);
-               if (!buf)
-                       break;
-
-               memset(&iwe, 0, sizeof(iwe));
-               iwe.cmd = IWEVCUSTOM;
-               sprintf(buf, "bcn_int=%d", bss->beacon_int);
-               iwe.u.data.length = strlen(buf);
-               current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,
-                                                 buf);
-
-               memset(&iwe, 0, sizeof(iwe));
-               iwe.cmd = IWEVCUSTOM;
-               sprintf(buf, "capab=0x%04x", bss->capability);
-               iwe.u.data.length = strlen(buf);
-               current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,
-                                                 buf);
-
-               kfree(buf);
-               break;
-       } while (0);
-
        return current_ev;
 }