[ath9k-devel] [PATCH] ath9k: fix NULL-deref in hw_per_calibration() for ar9002

2014-05-07 Thread David Herrmann
ah-caldata may be NULL if no channel is selected. Check for that before accessing it. Signed-off-by: David Herrmann dh.herrm...@gmail.com --- Hi This is _definitely_ only a workaround, given that no-one guarantees ah-caldata is freed while we run in hw_per_calibration(). However, this patch

[ath9k-devel] [PATCH] ath9k: Allow platform override without EEPROM override

2014-05-07 Thread Helmut Schaa
Add a new platform data flag use_eeprom that indicates that the eeprom found on the card itself should be used instead of the one present in the platform data. This allows to override the MAC address of a PCI card while preserving the eeprom data from the card itself. The default behavior is

Re: [ath9k-devel] [PATCH] ath9k: fix NULL-deref in hw_per_calibration() for ar9002

2014-05-07 Thread John W. Linville
On Wed, May 07, 2014 at 09:22:58AM +0200, David Herrmann wrote: ah-caldata may be NULL if no channel is selected. Check for that before accessing it. Signed-off-by: David Herrmann dh.herrm...@gmail.com --- Hi This is _definitely_ only a workaround, given that no-one guarantees

Re: [ath9k-devel] [PATCH] ath9k: fix NULL-deref in hw_per_calibration() for ar9002

2014-05-07 Thread Luis R. Rodriguez
On Wed, May 7, 2014 at 12:54 PM, John W. Linville linvi...@tuxdriver.com wrote: Is there any hope for getting a more complete fix from the ath9k guys in short order? Wait, who are the ath9k folks now exactly ? Luis ___ ath9k-devel mailing list

Re: [ath9k-devel] [PATCH] ath9k: fix NULL-deref in hw_per_calibration() for ar9002

2014-05-07 Thread Felix Fietkau
On 2014-05-07 21:54, John W. Linville wrote: On Wed, May 07, 2014 at 09:22:58AM +0200, David Herrmann wrote: ah-caldata may be NULL if no channel is selected. Check for that before accessing it. Signed-off-by: David Herrmann dh.herrm...@gmail.com --- Hi This is _definitely_ only a

Re: [ath9k-devel] [PATCH] ath9k: fix NULL-deref in hw_per_calibration() for ar9002

2014-05-07 Thread John W. Linville
On Wed, May 07, 2014 at 01:03:00PM -0700, Luis R. Rodriguez wrote: On Wed, May 7, 2014 at 12:54 PM, John W. Linville linvi...@tuxdriver.com wrote: Is there any hope for getting a more complete fix from the ath9k guys in short order? Wait, who are the ath9k folks now exactly ? A better