cfg80211: Clean up connect params and channel fetching
authorJouni Malinen <j@w1.fi>
Tue, 14 Jan 2014 22:01:44 +0000 (00:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:09 +0000 (21:48 +0100)
commit664834dee63c55188093bb5f295283c7693003d6
tree434f04f54dc845a0b6cde5c8f685cb6eae7e43a1
parentb43504cf75b8b8773ee70c90bcd691282e151b9a
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>
drivers/net/wireless/mwifiex/cfg80211.c
include/net/cfg80211.h
net/wireless/nl80211.c