rtl818x: remove unused conf_erp callback from RF ops struct
authorAndrea Merello <andrea.merello@gmail.com>
Mon, 17 Mar 2014 18:52:42 +0000 (19:52 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Mar 2014 19:15:46 +0000 (15:15 -0400)
The ERP configuration is now done outside RF code in both rtl8180
and rtl8187 drivers.

The conf_erp callback in common RF ops struct is now useless.
Remove it.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl818x.h

index fa7f7f61ea266baabfe36235a68222430c328fb4..1815b15d03b1f9a363902a151aa74983e345b6b6 100644 (file)
@@ -192,7 +192,6 @@ struct rtl818x_rf_ops {
        void (*init)(struct ieee80211_hw *);
        void (*stop)(struct ieee80211_hw *);
        void (*set_chan)(struct ieee80211_hw *, struct ieee80211_conf *);
-       void (*conf_erp)(struct ieee80211_hw *, struct ieee80211_bss_conf *);
        u8 (*calc_rssi)(u8 agc, u8 sq);
 };