]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/ath/debug.c
ath5k: fix build break from "ath5k: Print out opmode in debugfs"
[net-next-2.6.git] / drivers / net / wireless / ath / debug.c
index a9eb7876dbe19c866a65fe566ab1e38f400dfeb6..dacfb234f491053278dce7b502f763d07bda4d48 100644 (file)
@@ -55,7 +55,7 @@ const char *ath_opmode_to_string(enum nl80211_iftype opmode)
        case NL80211_IFTYPE_P2P_GO:
                return "P2P-GO";
        default:
-               return NULL;
+               return "UNKNOWN";
        }
 }
 EXPORT_SYMBOL(ath_opmode_to_string);