]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/ath/ath5k/base.c
ath5k: fix build break from "ath5k: Print out opmode in debugfs"
[net-next-2.6.git] / drivers / net / wireless / ath / ath5k / base.c
index c9732a6ce87f6df573806046edd32c9a6c7aaaed..7baaf04f092d8663dfe9154d572b7880452b5fa1 100644 (file)
@@ -563,9 +563,7 @@ static void ath_do_set_opmode(struct ath5k_softc *sc)
        struct ath5k_hw *ah = sc->ah;
        ath5k_hw_set_opmode(ah, sc->opmode);
        ATH5K_DBG(sc, ATH5K_DEBUG_MODE, "mode setup opmode %d (%s)\n",
-                 sc->opmode,
-                 ath_opmode_to_string(sc->opmode) ?
-                 ath_opmode_to_string(sc->opmode) : "UKNOWN");
+                 sc->opmode, ath_opmode_to_string(sc->opmode));
 }
 
 void ath5k_update_bssid_mask_and_opmode(struct ath5k_softc *sc,