Skip to content
Commit a8851d10 authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

ath5k: ath5k_eeprom_mode_from_channel() returns signed



ath5k_eeprom_mode_from_channel() returns -1 on error but we're storing
the result in "ee_mode" which is an unsigned char.  This breaks the
error handling.  This patch makes "ee_mode" an int.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2ae79d52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment