rtlwifi: initialize local array and set value.
[pandora-kernel.git] / drivers / net / wireless / rtlwifi / rtl8192de / dm.c
index b1256c4..05f2c53 100644 (file)
@@ -844,7 +844,7 @@ static void rtl92d_dm_txpower_tracking_callback_thermalmeter(
        long val_y, ele_c = 0;
        u8 ofdm_index[2];
        s8 cck_index = 0;
        long val_y, ele_c = 0;
        u8 ofdm_index[2];
        s8 cck_index = 0;
-       u8 ofdm_index_old[2];
+       u8 ofdm_index_old[2] = {0, 0};
        s8 cck_index_old = 0;
        u8 index;
        int i;
        s8 cck_index_old = 0;
        u8 index;
        int i;