p54: disable channels with incomplete calibration data sets
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 31 Oct 2009 21:59:27 +0000 (22:59 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Nov 2009 20:43:23 +0000 (15:43 -0500)
commit93a59d7527147e3656664aa3179f8d19de256081
tree8b16907b7f2e8901ddb5d83dbc80b8b7129aab4b
parent6d3560d4fc9c5b9fe1a07a63926ea70512c69c32
p54: disable channels with incomplete calibration data sets

James Grossmann [1] reported that p54 spews out confusing
messages instead of preventing the mayhem from happening.

the reason is that "p54: generate channel list dynamically"
is not perfect. It didn't discard incomplete channel data
sets and therefore p54 advertised to support them as well.

[1]: http://marc.info/?l=linux-wireless&m=125699830215890

Cc: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: James Grossmann <cctsurf@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/eeprom.c