]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/keys/asymmetric-subtype.h
Merge tag 'iwlwifi-for-kalle-2015-11-15' of https://git.kernel.org/pub/scm/linux...
[karo-tx-linux.git] / include / keys / asymmetric-subtype.h
index 4b840e822209d7d6894f81476267655498d530f2..4915d40d3c3cf9d5c44a6c0663f277c01eaf8eaa 100644 (file)
@@ -49,7 +49,7 @@ struct asymmetric_key_subtype {
 static inline
 struct asymmetric_key_subtype *asymmetric_key_subtype(const struct key *key)
 {
-       return key->type_data.p[0];
+       return key->payload.data[asym_subtype];
 }
 
 #endif /* _KEYS_ASYMMETRIC_SUBTYPE_H */