ath6kl: Remove redundant key_index check.

Less-than-zero comparison of an unsigned value is never true.

kvalo: remove WMI_MIN_KEY_INDEX altogether, it's useless

Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
此提交包含在:
Vivek Natarajan
2011-12-29 16:18:39 +05:30
提交者 Kalle Valo
父節點 a10e2f2f6d
當前提交 792ecb3308
共有 3 個檔案被更改,包括 6 行新增8 行删除

查看文件

@@ -649,7 +649,6 @@ enum auth_mode {
WPA2_AUTH_CCKM = 0x40,
};
#define WMI_MIN_KEY_INDEX 0
#define WMI_MAX_KEY_INDEX 3
#define WMI_MAX_KEY_LEN 32