cfg80211: test before subtraction on unsigned
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 3 Mar 2009 21:55:21 +0000 (22:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 6 Mar 2009 20:54:32 +0000 (15:54 -0500)
commitbd05f28e1a15ae62994fe309a524695fe26dd834
treeef5cddeab99411715e1a689d5936dc9eacc74bfb
parent623d563e52d4d4041612e24b33a5610a900dd778
cfg80211: test before subtraction on unsigned

freq_diff is unsigned, so test before subtraction

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c