iwlwifi: use mac80211 channel in connection init
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 13:40:11 +0000 (15:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:05:39 +0000 (13:05 +0200)
commit7ad580c2e6d918379b89668ea4e58a3599e27ee5
treec6b8a0b15f794ba8a1fb13a4bb0b23c4fc1c3b0b
parentaca86268faad5caed582de463c96061605c8ad60
iwlwifi: use mac80211 channel in connection init

mac80211 guarantees that the channel pointer is
always valid, so we can use that instead of our
own channel list.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c