diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c b/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c index 44febfde9493..8a7b864faca3 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c +++ b/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c | |||
@@ -315,7 +315,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw, | |||
315 | u16 box_reg = 0, box_extreg = 0; | 315 | u16 box_reg = 0, box_extreg = 0; |
316 | u8 u1b_tmp; | 316 | u8 u1b_tmp; |
317 | bool isfw_read = false; | 317 | bool isfw_read = false; |
318 | bool bwrite_sucess = false; | 318 | bool bwrite_success = false; |
319 | u8 wait_h2c_limmit = 100; | 319 | u8 wait_h2c_limmit = 100; |
320 | u8 wait_writeh2c_limmit = 100; | 320 | u8 wait_writeh2c_limmit = 100; |
321 | u8 boxcontent[4], boxextcontent[2]; | 321 | u8 boxcontent[4], boxextcontent[2]; |
@@ -354,7 +354,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw, | |||
354 | } | 354 | } |
355 | } | 355 | } |
356 | 356 | ||
357 | while (!bwrite_sucess) { | 357 | while (!bwrite_success) { |
358 | wait_writeh2c_limmit--; | 358 | wait_writeh2c_limmit--; |
359 | if (wait_writeh2c_limmit == 0) { | 359 | if (wait_writeh2c_limmit == 0) { |
360 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, | 360 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, |
@@ -491,7 +491,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw, | |||
491 | break; | 491 | break; |
492 | } | 492 | } |
493 | 493 | ||
494 | bwrite_sucess = true; | 494 | bwrite_success = true; |
495 | 495 | ||
496 | rtlhal->last_hmeboxnum = boxnum + 1; | 496 | rtlhal->last_hmeboxnum = boxnum + 1; |
497 | if (rtlhal->last_hmeboxnum == 4) | 497 | if (rtlhal->last_hmeboxnum == 4) |