From ea648fdc0ad0a61710181d87eb56a7241dbea360 Mon Sep 17 00:00:00 2001 From: Arend van Spriel Date: Tue, 3 May 2011 11:35:12 +0200 Subject: [PATCH] --- yaml --- r: 249295 b: refs/heads/master c: 2afa554be44d155c9de757f2671642a34e6593be h: refs/heads/master i: 249293: a7f870d6b5ec4799ba37f6fdc1415cadea8e8346 249291: 479a543a315d78d68f6d578ab72d3e242508c6f3 249287: 465cd83a6f24514e8cc6aa4dc186ce1a61214a98 249279: 7f770ce5db335b627aaeb8a0f0ad81f45a6c7ea1 v: v3 --- [refs] | 2 +- .../drivers/staging/brcm80211/brcmsmac/wl_mac80211.c | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/[refs] b/[refs] index 4f680a37c0b0..e1a285e1c9eb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b5c60b5fdbb3e27fa70f182bba98cdbca02f5c3f +refs/heads/master: 2afa554be44d155c9de757f2671642a34e6593be diff --git a/trunk/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c b/trunk/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c index 8144587c7664..0faf1051a8c9 100644 --- a/trunk/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c +++ b/trunk/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c @@ -131,7 +131,6 @@ static void wl_ops_sw_scan_complete(struct ieee80211_hw *hw); static void wl_ops_set_tsf(struct ieee80211_hw *hw, u64 tsf); static int wl_ops_get_stats(struct ieee80211_hw *hw, struct ieee80211_low_level_stats *stats); -static int wl_ops_set_rts_threshold(struct ieee80211_hw *hw, u32 value); static void wl_ops_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, @@ -508,16 +507,6 @@ wl_ops_get_stats(struct ieee80211_hw *hw, return 0; } -static int wl_ops_set_rts_threshold(struct ieee80211_hw *hw, u32 value) -{ - struct wl_info *wl = hw->priv; - - WL_LOCK(wl); - wlc_iovar_setint(wl->wlc, "rtsthresh", value & 0xFFFF); - WL_UNLOCK(wl); - return 0; -} - static void wl_ops_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) @@ -669,7 +658,6 @@ static const struct ieee80211_ops wl_ops = { .sw_scan_complete = wl_ops_sw_scan_complete, .set_tsf = wl_ops_set_tsf, .get_stats = wl_ops_get_stats, - .set_rts_threshold = wl_ops_set_rts_threshold, .sta_notify = wl_ops_sta_notify, .conf_tx = wl_ops_conf_tx, .get_tsf = wl_ops_get_tsf,