cfg80211: fix integer signedness in chandef_primary_freqs()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Oct 2014 16:05:39 +0000 (17:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 Oct 2014 17:42:51 +0000 (18:42 +0100)
commitfc1f48ffd5793e0a35c3b02375c2e2923e0f2bf3
tree2ab973165a69be663b4bc967e3c24f915a6ea888
parentdcc6c2f5165788fdc37be9a13a909e8c16f254ce
cfg80211: fix integer signedness in chandef_primary_freqs()

The helper function can't ever create negative values, so use
u32 pointers as the function arguments as the caller does.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c