make sure that the dhcp client (or other processes necessary to get a connection...
[openwrt.git] / package / mac80211 / patches / 411-mac80211-remove-wiphy-to-hw.patch
1 Subject: mac80211: remove wiphy_to_hw
2
3 This isn't used by anyone, if we ever need it we can add
4 it back, until then it's useless.
5
6 Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
7 ---
8 include/net/mac80211.h | 2 --
9 net/mac80211/cfg.c | 7 -------
10 2 files changed, 9 deletions(-)
11
12 --- everything.orig/include/net/mac80211.h 2008-10-07 20:05:49.000000000 +0200
13 +++ everything/include/net/mac80211.h 2008-10-07 20:06:42.000000000 +0200
14 @@ -867,8 +867,6 @@ struct ieee80211_hw {
15 u8 max_altrate_tries;
16 };
17
18 -struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy);
19 -
20 /**
21 * SET_IEEE80211_DEV - set device for 802.11 hardware
22 *
23 --- everything.orig/net/mac80211/cfg.c 2008-10-07 20:06:37.000000000 +0200
24 +++ everything/net/mac80211/cfg.c 2008-10-07 20:06:42.000000000 +0200
25 @@ -17,13 +17,6 @@
26 #include "rate.h"
27 #include "mesh.h"
28
29 -struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy)
30 -{
31 - struct ieee80211_local *local = wiphy_priv(wiphy);
32 - return &local->hw;
33 -}
34 -EXPORT_SYMBOL(wiphy_to_hw);
35 -
36 static bool nl80211_type_check(enum nl80211_iftype type)
37 {
38 switch (type) {
This page took 0.049601 seconds and 5 git commands to generate.