]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wireless/ath5k/initvals.c
ath5k: Port to new bitrate/channel API
[~andy/linux] / drivers / net / wireless / ath5k / initvals.c
index 2c22f1d4ee64026fbf0b1f075a7bbe31ef358284..a255d8bfa9497b86979dfa9878110238c5999bcc 100644 (file)
@@ -1317,7 +1317,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel)
        /* For AR5211 */
        } else if (ah->ah_version == AR5K_AR5211) {
 
-               if(mode > 2){ /* AR5K_INI_VAL_11B */
+               if(mode > 2){ /* AR5K_MODE_11B */
                        ATH5K_ERR(ah->ah_sc,"unsupported channel mode: %d\n", mode);
                        return -EINVAL;
                }