diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/hostap/hostap_plx.c | 2 | ||||
-rw-r--r-- | net/mac80211/tx.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index a13668b9b6d..8f3cf10f65c 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c | |||
@@ -812,7 +812,7 @@ static u8 ath_rc_rate_getidx(struct ath_softc *sc, | |||
812 | u16 min_rate) | 812 | u16 min_rate) |
813 | { | 813 | { |
814 | u32 j; | 814 | u32 j; |
815 | u8 nextindex; | 815 | u8 nextindex = 0; |
816 | 816 | ||
817 | if (min_rate) { | 817 | if (min_rate) { |
818 | for (j = RATE_TABLE_SIZE; j > 0; j--) { | 818 | for (j = RATE_TABLE_SIZE; j > 0; j--) { |
diff --git a/drivers/net/wireless/hostap/hostap_plx.c b/drivers/net/wireless/hostap/hostap_plx.c index cbf15d70320..0e5d51086a4 100644 --- a/drivers/net/wireless/hostap/hostap_plx.c +++ b/drivers/net/wireless/hostap/hostap_plx.c | |||
@@ -435,7 +435,7 @@ static int prism2_plx_probe(struct pci_dev *pdev, | |||
435 | unsigned long pccard_attr_mem; | 435 | unsigned long pccard_attr_mem; |
436 | unsigned int pccard_attr_len; | 436 | unsigned int pccard_attr_len; |
437 | void __iomem *attr_mem = NULL; | 437 | void __iomem *attr_mem = NULL; |
438 | unsigned int cor_offset, cor_index; | 438 | unsigned int cor_offset = 0, cor_index = 0; |
439 | u32 reg; | 439 | u32 reg; |
440 | local_info_t *local = NULL; | 440 | local_info_t *local = NULL; |
441 | struct net_device *dev = NULL; | 441 | struct net_device *dev = NULL; |
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 9ab49826c15..1865622003c 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -445,7 +445,7 @@ ieee80211_tx_h_ps_buf(struct ieee80211_tx_data *tx) | |||
445 | static ieee80211_tx_result debug_noinline | 445 | static ieee80211_tx_result debug_noinline |
446 | ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx) | 446 | ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx) |
447 | { | 447 | { |
448 | struct ieee80211_key *key; | 448 | struct ieee80211_key *key = NULL; |
449 | struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); | 449 | struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb); |
450 | struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; | 450 | struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data; |
451 | 451 | ||