From: Ivo van Doorn Date: Sun, 17 Feb 2008 16:35:05 +0000 (+0100) Subject: rt2x00: Cleanup mode registration X-Git-Tag: v2.6.26-rc1~1138^2~530^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31562e802a72caf0757f351fff563d558d48d087;p=pandora-kernel.git rt2x00: Cleanup mode registration Don't wildly pass any number for num_rates to rt2x00lib, instead pass which type of rates are supported (CCK, OFDM). Same for num_modes but then for the 2GHZ and 5GHZ band. This makes the interface look much nicer and makes extending it later easier. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed