Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266760
b: refs/heads/master
c: 09e92f0
h: refs/heads/master
v: v3
  • Loading branch information
Chaoming Li authored and John W. Linville committed Oct 14, 2011
1 parent f6fe76d commit 7bba559
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 603be3885b9d518ff4822b357e2687b6ff02f1ac
refs/heads/master: 09e92f0be2cc14dc808de0c0f12b57981b8c027d
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/rtlwifi/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ static void _rtl_init_mac80211(struct ieee80211_hw *hw)
IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_BEACON_FILTER |
IEEE80211_HW_AMPDU_AGGREGATION |
IEEE80211_HW_CONNECTION_MONITOR |
/* IEEE80211_HW_SUPPORTS_CQM_RSSI | */
IEEE80211_HW_REPORTS_TX_ACK_STATUS | 0;

/* swlps or hwlps has been set in diff chip in init_sw_vars */
Expand Down Expand Up @@ -850,7 +852,7 @@ void rtl_get_tcb_desc(struct ieee80211_hw *hw,
*So tcb_desc->hw_rate is just used for
*special data and mgt frames
*/
if (info->control.rates[0].idx == 0 &&
if (info->control.rates[0].idx == 0 ||
ieee80211_is_nullfunc(fc)) {
tcb_desc->use_driver_rate = true;
tcb_desc->ratr_index = RATR_INX_WIRELESS_MC;
Expand Down Expand Up @@ -1138,7 +1140,7 @@ void rtl_watchdog_wq_callback(void *data)
}

/*
*<3> to check if traffic busy, if
*<2> to check if traffic busy, if
* busytraffic we don't change channel
*/
if (mac->link_state >= MAC80211_LINKED) {
Expand Down

0 comments on commit 7bba559

Please sign in to comment.