d80211: Fix max_signal values signedness bug
PATCH 1/1 d80211: Fix max_signal values signedness bug
char is not signed on all architectures.
This fixes a compiletime warning and bug on PPC.
Signed-off-by Michael Buesch <[email protected]>
include/net/d80211.h +3 -3
@@ -542,9 +542,9 @@ struct ieee80211_hw {int channel_change_time;/* Maximum values for various statistics. * Leave at 0 to indicate no support. Use negative numbers for dBm. */ -char max_rssi; -char max_signal; -char max_noise; +s8 max_rssi; +s8 max_signal; +s8 max_noise;/* Number of available hardware TX queues for data packets. * WMM requires at least four queues. */
Signature · 1 line
Greetings Michael.