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>
This commit is contained in:
committed by
Johannes Berg
parent
b43504cf75
commit
664834dee6
@@ -1732,9 +1732,9 @@ struct cfg80211_ibss_params {
|
||||
struct cfg80211_connect_params {
|
||||
struct ieee80211_channel *channel;
|
||||
struct ieee80211_channel *channel_hint;
|
||||
u8 *bssid;
|
||||
const u8 *bssid;
|
||||
const u8 *bssid_hint;
|
||||
u8 *ssid;
|
||||
const u8 *ssid;
|
||||
size_t ssid_len;
|
||||
enum nl80211_auth_type auth_type;
|
||||
u8 *ie;
|
||||
|
||||
Reference in New Issue
Block a user