wireless: rt2800lib: Fix typo on checking
authorFelipe Pena <felipensp@gmail.com>
Sat, 19 Oct 2013 00:20:42 +0000 (21:20 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Nov 2013 19:38:55 +0000 (14:38 -0500)
commit6264995f864ac7a9c0c721432ed0edfe83d4ee3c
treec7b0a2456dc7c8c87ce01b13e922cdd9e65cb5d0
parentf8c31c8f80dd882f7eb49276989a4078d33d67a7
wireless: rt2800lib: Fix typo on checking

On rt2800_config_channel_rf53xx function the member default_power1 is checked
for bound limit, but default_power2 is used instead.

Signed-off-by: Felipe Pena <felipensp@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c