re-enable greenfield support.

This commit is contained in:
Solomon Peachy 2013-04-18 10:40:30 -04:00
parent b95d156fd8
commit 13deb99877
1 changed files with 4 additions and 2 deletions

View File

@ -1927,6 +1927,7 @@ void cw1200_bss_info_changed(struct ieee80211_hw *dev,
}
rcu_read_unlock();
#if 0
/* FIXME: Temporarily disable GF support due to buggy
* APs advertising support but not handling it
* properly. Is there a better way to handle this?
@ -1934,12 +1935,13 @@ void cw1200_bss_info_changed(struct ieee80211_hw *dev,
pr_debug("[STA] HT_GF was %d (forcing off)\n",
cw1200_ht_greenfield(&priv->ht_info));
priv->ht_info.operation_mode |= IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT;
#endif
/* Non Greenfield stations present */
if (priv->ht_info.operation_mode &
IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT) {
IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT)
val |= WSM_NON_GREENFIELD_STA_PRESENT;
}
/* Set HT protection method */
val |= (priv->ht_info.operation_mode & IEEE80211_HT_OP_MODE_PROTECTION) << 2;