diff options
author | Jouni Malinen <j@w1.fi> | 2014-01-14 17:01:44 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 15:48:09 -0500 |
commit | 664834dee63c55188093bb5f295283c7693003d6 (patch) | |
tree | 434f04f54dc845a0b6cde5c8f685cb6eae7e43a1 /include/net | |
parent | b43504cf75b8b8773ee70c90bcd691282e151b9a (diff) |
cfg80211: Clean up connect params and channel fetching
Addition of the frequency hints showed up couple of places in cfg80211
where pointers could be marked const and a shared function could be used
to fetch a valid channel.
Signed-off-by: Jouni Malinen <j@w1.fi>
[fix mwifiex]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 117bea0210be..9237b26142a1 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1732,9 +1732,9 @@ struct cfg80211_ibss_params { | |||
1732 | struct cfg80211_connect_params { | 1732 | struct cfg80211_connect_params { |
1733 | struct ieee80211_channel *channel; | 1733 | struct ieee80211_channel *channel; |
1734 | struct ieee80211_channel *channel_hint; | 1734 | struct ieee80211_channel *channel_hint; |
1735 | u8 *bssid; | 1735 | const u8 *bssid; |
1736 | const u8 *bssid_hint; | 1736 | const u8 *bssid_hint; |
1737 | u8 *ssid; | 1737 | const u8 *ssid; |
1738 | size_t ssid_len; | 1738 | size_t ssid_len; |
1739 | enum nl80211_auth_type auth_type; | 1739 | enum nl80211_auth_type auth_type; |
1740 | u8 *ie; | 1740 | u8 *ie; |