brcmfmac: Remove some redundant cfg80211 data
authorHante Meuleman <meuleman@broadcom.com>
Thu, 10 Dec 2015 12:43:02 +0000 (13:43 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:51:21 +0000 (13:51 +0200)
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h

index b7b60f52a6cc2222867b41e6f99b708ca0066708..5432c46fea6252d22189141953c485f990e81974 100644 (file)
@@ -5203,7 +5203,6 @@ static void brcmf_init_conf(struct brcmf_cfg80211_conf *conf)
        conf->rts_threshold = (u32)-1;
        conf->retry_short = (u32)-1;
        conf->retry_long = (u32)-1;
-       conf->tx_power = -1;
 }
 
 static void brcmf_register_event_handlers(struct brcmf_cfg80211_info *cfg)
index e77f1375b86ed212d6a2aa40e2d2177701843c4e..ec8d1f848db442e0b149077102e0e07c696e1ecf 100644 (file)
@@ -95,14 +95,6 @@ struct brcmf_cfg80211_conf {
        u32 rts_threshold;
        u32 retry_short;
        u32 retry_long;
-       s32 tx_power;
-       struct ieee80211_channel channel;
-};
-
-/* basic structure of information element */
-struct brcmf_cfg80211_ie {
-       u16 offset;
-       u8 buf[WL_TLV_INFO_MAX];
 };
 
 /* security information with currently associated ap */
@@ -333,7 +325,6 @@ struct brcmf_cfg80211_vif_event {
  * @usr_sync: mainly for dongle up/down synchronization.
  * @bss_list: bss_list holding scanned ap information.
  * @bss_info: bss information for cfg80211 layer.
- * @ie: information element object for internal purpose.
  * @conn_info: association info.
  * @pmk_list: wpa2 pmk list.
  * @scan_status: scan activity on the dongle.
@@ -367,7 +358,6 @@ struct brcmf_cfg80211_info {
        struct cfg80211_scan_request *scan_request;
        struct mutex usr_sync;
        struct wl_cfg80211_bss_info *bss_info;
-       struct brcmf_cfg80211_ie ie;
        struct brcmf_cfg80211_connect_info conn_info;
        struct brcmf_cfg80211_pmk_list *pmk_list;
        unsigned long scan_status;