Jes.Sorensen@xxxxxxxxxx writes: > From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> > > This is a first stab of implementing rtl8723bu_config_channel(). For > now this will only do 20MHz channels. > > Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> [...] > +static void rtl8723bu_config_channel(struct ieee80211_hw *hw) > +{ > + struct rtl8xxxu_priv *priv = hw->priv; > + u32 val32, rsr; > + u8 val8, opmode, subchannel; > + u16 rf_mode_bw; > + bool ht = true; > + int sec_ch_above, channel; > + int i; > + > + rf_mode_bw = rtl8xxxu_read16(priv, REG_WMAC_TRXPTCL_CTL); > + rf_mode_bw &= ~WMAC_TRXPTCL_CTL_BW_MASK; > + rsr = rtl8xxxu_read32(priv, REG_RESPONSE_RATE_SET); > + channel = hw->conf.chandef.chan->hw_value; > + > +/* Hack */ Indentation. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html