mirror of https://gitee.com/openkylin/linux.git
ath5k: notice a negative keytype
To notice a negative keytype Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
3d3e451ff7
commit
672cf3cefe
|
@ -1044,7 +1044,7 @@ int ath5k_hw_set_key(struct ath5k_hw *ah, u16 entry,
|
||||||
__le32 key_v[5] = {};
|
__le32 key_v[5] = {};
|
||||||
__le32 key0 = 0, key1 = 0;
|
__le32 key0 = 0, key1 = 0;
|
||||||
__le32 *rxmic, *txmic;
|
__le32 *rxmic, *txmic;
|
||||||
u32 keytype;
|
int keytype;
|
||||||
u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET;
|
u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET;
|
||||||
bool is_tkip;
|
bool is_tkip;
|
||||||
const u8 *key_ptr;
|
const u8 *key_ptr;
|
||||||
|
|
Loading…
Reference in New Issue