mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
cfg80211: get rid of name indirection trick for ieee80211_get_channel()
The comment on the name indirection suggested an issue but turned out to be untrue. Digging in older kernel version showed issue with ipw2x00 but that is no longer true so get rid on the name indirection. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
parent
74204f8fa1
commit
543b921b47
4 changed files with 7 additions and 20 deletions
|
|
@ -114,8 +114,7 @@ int ieee80211_frequency_to_channel(int freq)
|
|||
}
|
||||
EXPORT_SYMBOL(ieee80211_frequency_to_channel);
|
||||
|
||||
struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy,
|
||||
int freq)
|
||||
struct ieee80211_channel *ieee80211_get_channel(struct wiphy *wiphy, int freq)
|
||||
{
|
||||
enum nl80211_band band;
|
||||
struct ieee80211_supported_band *sband;
|
||||
|
|
@ -135,7 +134,7 @@ struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy,
|
|||
|
||||
return NULL;
|
||||
}
|
||||
EXPORT_SYMBOL(__ieee80211_get_channel);
|
||||
EXPORT_SYMBOL(ieee80211_get_channel);
|
||||
|
||||
static void set_mandatory_flags_band(struct ieee80211_supported_band *sband,
|
||||
enum nl80211_band band)
|
||||
|
|
|
|||
Loading…
Reference in a new issue