projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9edd952
)
mac80211: skip HT parsing if HW does not support HT
author
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 16 Jul 2010 11:01:24 +0000
(13:01 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 16 Jul 2010 18:03:42 +0000
(14:03 -0400)
This patch will also fix the odd freeze which occurred
when minstrel_ht connects to an 802.11n network with
legacy hardware.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ht.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/ht.c
b/net/mac80211/ht.c
index be928ef7ef51821c57c412c7cb72c6d3bfb4be78..9d101fb33861f67ce1c9058b60f680709ca2d27c 100644
(file)
--- a/
net/mac80211/ht.c
+++ b/
net/mac80211/ht.c
@@
-29,7
+29,7
@@
void ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_supported_band *sband,
memset(ht_cap, 0, sizeof(*ht_cap));
- if (!ht_cap_ie)
+ if (!ht_cap_ie
|| !sband->ht_cap.ht_supported
)
return;
ht_cap->ht_supported = true;