ath5k: fix build break from "ath5k: Print out opmode in debugfs"
authorJoe Perches <joe@perches.com>
Tue, 12 Oct 2010 18:07:44 +0000 (11:07 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Oct 2010 20:05:30 +0000 (16:05 -0400)
commit908ebfb95d16bdf7f5f37ad911ccd9b7350ba780
tree4a11c71816c2c545e8beabc4cc5c64d713d4f83e
parentcfd8e12f42746df396ecbdf7a1d8e92e8e4dbb97
ath5k: fix build break from "ath5k: Print out opmode in debugfs"

Also improve ath_opmode_to_string usage by having it return UNKNOWN
rather than NULL in the event of failure to map the opmode value to a
representative string.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/debug.c
drivers/net/wireless/ath/debug.c
drivers/net/wireless/ath/debug.h