Commit f0da7d9a authored by Bob Copeland's avatar Bob Copeland Committed by Greg Kroah-Hartman
Browse files

ath5k: allow setting txpower to 0

commit 2eb2fa67 upstream.

As a holdover from earlier code when we used to set
the power limit to '0' after a reset to configure the
default transmit power, ath5k interprets txpower=0 as
12.5 dBm.  Fix that by just passing 0 through.

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=14567



Reported-by: default avatarDaniel Folkers <daniel.folkers@task24.nl>
Tested-by: default avatarDaniel Folkers <daniel.folkers@task24.nl>
Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ee17dd1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment