]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath5k: fix NULL pointer in antenna configuration
authorBruno Randolf <br1@einfach.org>
Mon, 7 Jun 2010 04:11:19 +0000 (13:11 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jun 2010 18:43:57 +0000 (14:43 -0400)
commit436c109adb54433fff689abd71c23a6505e46bb0
treead7860f0d757f83b439e2cf6d5a9ef8dc0e1a6e7
parent0f666a08901f8b01f294ca0ad751019375240ae3
ath5k: fix NULL pointer in antenna configuration

If the channel is not set yet and we configure the antennas just store the
setting. It will be activated during the next reset, when the channel is set.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c