From: Luis R. Rodriguez Date: Tue, 23 Dec 2008 23:58:37 +0000 (-0800) Subject: ath9k: use hw->conf on ath_setcurmode() X-Git-Tag: v2.6.30-rc1~662^2~836^2~239 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=030bb495c0c34aa74903ab8cf9c35e4f2f0aedea;p=pandora-kernel.git ath9k: use hw->conf on ath_setcurmode() We don't need to use our own mode for setting the the routine tries to do, in fact lets remove ath_chan2mode() now as we can simply use the currently set band and the HT configuration provided by mac80211 through the ieee80211_conf. This works on changing channels as well as the internal ath9k_channel we use is based on the ieee80211_channel in the config. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed