diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/pci.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 56f12358389d..f8648b7288d5 100644 --- a/drivers/net/wireless/rtlwifi/pci.c +++ b/drivers/net/wireless/rtlwifi/pci.c | |||
@@ -488,7 +488,7 @@ static void _rtl_pci_tx_chk_waitq(struct ieee80211_hw *hw) | |||
488 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); | 488 | struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); |
489 | struct sk_buff *skb = NULL; | 489 | struct sk_buff *skb = NULL; |
490 | struct ieee80211_tx_info *info = NULL; | 490 | struct ieee80211_tx_info *info = NULL; |
491 | int tid; /* should be int */ | 491 | int tid; |
492 | 492 | ||
493 | if (!rtlpriv->rtlhal.earlymode_enable) | 493 | if (!rtlpriv->rtlhal.earlymode_enable) |
494 | return; | 494 | return; |
@@ -1538,7 +1538,7 @@ static int rtl_pci_start(struct ieee80211_hw *hw) | |||
1538 | 1538 | ||
1539 | rtl_init_rx_config(hw); | 1539 | rtl_init_rx_config(hw); |
1540 | 1540 | ||
1541 | /*should after adapter start and interrupt enable. */ | 1541 | /*should be after adapter start and interrupt enable. */ |
1542 | set_hal_start(rtlhal); | 1542 | set_hal_start(rtlhal); |
1543 | 1543 | ||
1544 | RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); | 1544 | RT_CLEAR_PS_LEVEL(ppsc, RT_RF_OFF_LEVL_HALT_NIC); |
@@ -1559,7 +1559,7 @@ static void rtl_pci_stop(struct ieee80211_hw *hw) | |||
1559 | u8 RFInProgressTimeOut = 0; | 1559 | u8 RFInProgressTimeOut = 0; |
1560 | 1560 | ||
1561 | /* | 1561 | /* |
1562 | *should before disable interrrupt&adapter | 1562 | *should be before disable interrupt&adapter |
1563 | *and will do it immediately. | 1563 | *and will do it immediately. |
1564 | */ | 1564 | */ |
1565 | set_hal_stop(rtlhal); | 1565 | set_hal_stop(rtlhal); |