git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git]
/
drivers
/
net
/
wireless
/
iwlegacy
/
iwl-4965-rs.c
diff --git
a/drivers/net/wireless/iwlegacy/iwl-4965-rs.c
b/drivers/net/wireless/iwlegacy/iwl-4965-rs.c
index
24d1499
..
9b65153
100644
(file)
--- a/
drivers/net/wireless/iwlegacy/iwl-4965-rs.c
+++ b/
drivers/net/wireless/iwlegacy/iwl-4965-rs.c
@@
-2275,6
+2275,9
@@
iwl4965_rs_get_rate(void *priv_r, struct ieee80211_sta *sta, void *priv_sta,
if (rate_control_send_low(sta, priv_sta, txrc))
return;
if (rate_control_send_low(sta, priv_sta, txrc))
return;
+ if (!lq_sta)
+ return;
+
rate_idx = lq_sta->last_txrate_idx;
if (lq_sta->last_rate_n_flags & RATE_MCS_HT_MSK) {
rate_idx = lq_sta->last_txrate_idx;
if (lq_sta->last_rate_n_flags & RATE_MCS_HT_MSK) {