brcmfmac: Cleanup of unused defines.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 8 Feb 2013 14:54:00 +0000 (15:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Feb 2013 19:51:42 +0000 (14:51 -0500)
Remove some unused defines and comments. Also use same define
for IE length.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/p2p.h
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h

index 8fed9a3235114d792cc8ebf3247b1ea01503609e..9e0e962466bf7e8fab7fe62c107f6acb8108bca4 100644 (file)
 
 struct brcmf_cfg80211_info;
 
-/* vendor ies max buffer length for probe response or beacon */
-#define VNDR_IES_MAX_BUF_LEN 1400
-/* normal vendor ies buffer length */
-#define VNDR_IES_BUF_LEN 512
-
-/* Structure to hold all saved P2P and WPS IEs for a BSSCFG */
 /**
  * enum p2p_bss_type - different type of BSS configurations.
  *
index a020555a338b924d044524673c6c11b936e34017..b886f22a4acbe4fd8b10bb0e549e9324d14c92af 100644 (file)
@@ -172,7 +172,7 @@ enum brcmf_vif_status {
  * @beacon_ie_len: IE info length for beacon frame.
  */
 struct vif_saved_ie {
-       u8  probe_req_ie[VNDR_IES_BUF_LEN];
+       u8  probe_req_ie[IE_MAX_LEN];
        u8  probe_res_ie[IE_MAX_LEN];
        u8  beacon_ie[IE_MAX_LEN];
        u8  assoc_req_ie[IE_MAX_LEN];