diff options
| author | John W. Linville <linville@tuxdriver.com> | 2013-04-10 14:09:54 -0400 | 
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2013-04-10 14:09:54 -0400 | 
| commit | 655d8e2328a6ef6b6b514609a4c1e33508d3a1da (patch) | |
| tree | 144b686bf3fd6512a55987da2d911f739646ce02 /drivers/net/wireless/rtlwifi/core.c | |
| parent | 6fe5468f452c0c40348ebd4e737758a842286ca8 (diff) | |
| parent | ddc4db2e3d5393ede7a9222bb3b7522a603a4678 (diff) | |
| download | olio-linux-3.10-655d8e2328a6ef6b6b514609a4c1e33508d3a1da.tar.xz olio-linux-3.10-655d8e2328a6ef6b6b514609a4c1e33508d3a1da.zip  | |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Conflicts:
	drivers/net/wireless/ath/carl9170/debug.c
	drivers/net/wireless/ath/carl9170/main.c
	net/mac80211/ieee80211_i.h
Diffstat (limited to 'drivers/net/wireless/rtlwifi/core.c')
| -rw-r--r-- | drivers/net/wireless/rtlwifi/core.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c index 2201b5cee08..ee84844be00 100644 --- a/drivers/net/wireless/rtlwifi/core.c +++ b/drivers/net/wireless/rtlwifi/core.c @@ -370,7 +370,7 @@ static int rtl_op_config(struct ieee80211_hw *hw, u32 changed)  	}  	if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { -		struct ieee80211_channel *channel = hw->conf.channel; +		struct ieee80211_channel *channel = hw->conf.chandef.chan;  		u8 wide_chan = (u8) channel->hw_value;  		if (mac->act_scanning) @@ -392,7 +392,7 @@ static int rtl_op_config(struct ieee80211_hw *hw, u32 changed)  		 *info for cisco1253 bw20, so we modify  		 *it here based on UPPER & LOWER  		 */ -		switch (hw->conf.channel_type) { +		switch (cfg80211_get_chandef_type(&hw->conf.chandef)) {  		case NL80211_CHAN_HT20:  		case NL80211_CHAN_NO_HT:  			/* SC */ @@ -450,7 +450,7 @@ static int rtl_op_config(struct ieee80211_hw *hw, u32 changed)  		rtlpriv->cfg->ops->switch_channel(hw);  		rtlpriv->cfg->ops->set_channel_access(hw);  		rtlpriv->cfg->ops->set_bw_mode(hw, -					       hw->conf.channel_type); +				cfg80211_get_chandef_type(&hw->conf.chandef));  	}  	mutex_unlock(&rtlpriv->locks.conf_mutex);  |