Johannes Berg ddd68587d0 [PATCH] mac80211: fix printk warning on 64-bit
My AID message patch introduced a warning on 64-bit machines because ~
extends to unsigned long:

| net/mac80211/ieee80211_sta.c: In function ‘ieee80211_rx_mgmt_assoc_resp’:
| net/mac80211/ieee80211_sta.c:1187: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘long unsigned int’

This fixes it by explicitly casting the result to u16 (which 'aid' is).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-10-26 00:14:29 -04:00
..
2007-10-10 16:52:33 -07:00
2007-05-05 11:46:38 -07:00
2007-10-19 11:53:42 -07:00
2007-05-05 11:46:38 -07:00
2007-10-10 16:54:18 -07:00
2007-10-10 16:49:27 -07:00
2007-10-10 16:54:21 -07:00
2007-10-10 16:52:33 -07:00
2007-10-10 16:53:16 -07:00
2007-10-10 16:53:16 -07:00
2007-10-10 16:54:18 -07:00
2007-10-23 12:02:39 -07:00
2007-10-10 16:54:15 -07:00
2007-10-10 16:53:16 -07:00
2007-10-10 16:53:14 -07:00