rtlwifi: btcoex: fix spelling mistake "initilized" -> "initialized"
authorColin Ian King <colin.king@canonical.com>
Wed, 22 Jan 2020 09:33:40 +0000 (09:33 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:47:54 +0000 (17:47 +0200)
There is a spelling mistake in one of the fields in the btc_coexist struct,
fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h

index 3c96c320236ce2bf58c15a24994bbb16e9f78bb9..658ff425c256fe66567dcf5831c76f42a1d3ea85 100644 (file)
@@ -862,7 +862,7 @@ static void btc8192e2ant_set_sw_rf_rx_lpf_corner(struct btc_coexist *btcoexist,
                /* Resume RF Rx LPF corner
                 * After initialized, we can use coex_dm->btRf0x1eBackup
                 */
-               if (btcoexist->initilized) {
+               if (btcoexist->initialized) {
                        RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
                                 "[BTCoex], Resume RF Rx LPF corner!!\n");
                        btcoexist->btc_set_rf_reg(btcoexist, BTC_RF_A, 0x1e,
index 191dafd031893f9ce62340ab321bdcf56cae3b45..a4940a3842defce3ba03a59cac42cc88a7282f77 100644 (file)
@@ -1461,7 +1461,7 @@ void exhalbtc_init_coex_dm(struct btc_coexist *btcoexist)
                        ex_btc8192e2ant_init_coex_dm(btcoexist);
        }
 
-       btcoexist->initilized = true;
+       btcoexist->initialized = true;
 }
 
 void exhalbtc_ips_notify(struct btc_coexist *btcoexist, u8 type)
index 8c0a7fdbf20056c59a2b79882857a96958ba192d..a96a995dd850732d6578fa2cd8dd157d548fbe7c 100644 (file)
@@ -679,7 +679,7 @@ struct btc_coexist {
        bool auto_report_2ant;
        bool dbg_mode_1ant;
        bool dbg_mode_2ant;
-       bool initilized;
+       bool initialized;
        bool stop_coex_dm;
        bool manual_control;
        struct btc_statistics statistics;