diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-10 23:21:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-10 23:21:02 +0000 |
commit | 51f59a4f53edfbf802b263260e50f736d7a70630 (patch) | |
tree | 9cf1beedde041fff15a41195b8837011814eccf1 /package/mac80211/patches | |
parent | aa2dc106c654f6bf8632601ad472eaef2e601395 (diff) | |
download | upstream-51f59a4f53edfbf802b263260e50f736d7a70630.tar.gz upstream-51f59a4f53edfbf802b263260e50f736d7a70630.tar.bz2 upstream-51f59a4f53edfbf802b263260e50f736d7a70630.zip |
mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34624
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/305-pending-ath9k-allow-to-load-EEPROM-content-via-firmware-API.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/305-pending-ath9k-allow-to-load-EEPROM-content-via-firmware-API.patch b/package/mac80211/patches/305-pending-ath9k-allow-to-load-EEPROM-content-via-firmware-API.patch index 78efdc4e37..d710d099ef 100644 --- a/package/mac80211/patches/305-pending-ath9k-allow-to-load-EEPROM-content-via-firmware-API.patch +++ b/package/mac80211/patches/305-pending-ath9k-allow-to-load-EEPROM-content-via-firmware-API.patch @@ -144,7 +144,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> ath_read_cachesize(common, &csz); common->cachelsz = csz << 2; /* convert to bytes */ -+ if (pdata->eeprom_name) { ++ if (pdata && pdata->eeprom_name) { + ret = ath9k_eeprom_request(sc, pdata->eeprom_name); + if (ret) + goto err_eeprom; |