orinoco: Use a macro to define wireless handlers
authorDavid Kilroy <kilroyd@gmail.com>
Thu, 21 Aug 2008 22:28:01 +0000 (23:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 23:28:06 +0000 (19:28 -0400)
commit409644a98bfffef79985f2c39924a06288b1dfcf
tree6402461f30bf00cbd6e999160f0e2760c552ec3f
parent6cd90b1cac290c64a93b7e992bb1ef495988465f
orinoco: Use a macro to define wireless handlers

The macro identifiers for the various ioctls required for WPA support
are longer than those currently used by the driver. This makes it messy
to keep line length below 80 character.

By defining a macro to initialise the handler table, we recover the
common text.

Signed-off-by: David Kilroy <kilroyd@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco.c