Commit b5c60b5f authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman

staging: brcm80211: remove unnecessary if statements from bss_info_changed

The mac80211 api callback bss_info_changed contained two placeholders
that were expected to need to be implemented. However, reading the mac80211
notes (http://wireless.kernel.org/en/developers/Documentation/mac80211/API)
shows that it is not needed as the driver honours the flags provided with
the transmit sk_buff.

Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 09a48470
...@@ -346,17 +346,6 @@ wl_ops_bss_info_changed(struct ieee80211_hw *hw, ...@@ -346,17 +346,6 @@ wl_ops_bss_info_changed(struct ieee80211_hw *hw,
__func__, info->assoc ? "" : "dis"); __func__, info->assoc ? "" : "dis");
wlc_associate_upd(wl->wlc, info->assoc); wlc_associate_upd(wl->wlc, info->assoc);
} }
if (changed & BSS_CHANGED_ERP_CTS_PROT) {
/* CTS protection changed */
wiphy_err(wiphy, "%s: use_cts_prot: %s (implement)\n", __func__,
info->use_cts_prot ? "true" : "false");
}
if (changed & BSS_CHANGED_ERP_PREAMBLE) {
/* preamble changed */
wiphy_err(wiphy, "%s: short preamble: %s (implement)\n",
__func__, info->use_short_preamble ? "true" :
"false");
}
if (changed & BSS_CHANGED_ERP_SLOT) { if (changed & BSS_CHANGED_ERP_SLOT) {
/* slot timing changed */ /* slot timing changed */
if (info->use_short_slot) if (info->use_short_slot)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment