Kalle Valo <kv...@codeaurora.org> writes:
> jes.soren...@redhat.com writes:
>
>> From: Jes Sorensen <jes.soren...@redhat.com>
>>
>> This is a first stab of implementing rtl8723bu_config_channel(). For
>> now this will only do 20MHz channels.
>>
>> Signed-off-by: Jes Sorensen <jes.soren...@redhat.com>
>
> [...]
>
>> +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.

I can send you a v2 of this with it indented.

Jes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to