airo: remove "basic_rate" module option
authorDan Carpenter <error27@gmail.com>
Sat, 11 Sep 2010 23:48:33 +0000 (01:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Sep 2010 19:54:29 +0000 (15:54 -0400)
commited627be38a1a07c6986a9f17c299f6afc86ac6b7
treea6e49bcc9b00fb0aa38fb94ef39903bddc56ce9d
parent651b52254fc061f02d965524e71de4333a009a5a
airo: remove "basic_rate" module option

The "basic_rate" module option is not implemented correctly.  If the
rate was set to zero it was supposed to set it to "basic_rate | 0x80".
Unfortunately the check to see if what zero was wrong and it checked
"!ai->config.rates" (which is always false) instead of
"!ai->config.rates[i]".

This option was just used for development and it wasn't documented
anywhere.  Instead of fixing it, we can just remove it.

Reported-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c