diff mbox

rsn_supp: fix pmksa_cache_get() arguments

Message ID 1328735435-3456-1-git-send-email-ordex@autistici.org
State Accepted
Commit 78debc752922cbe56eb7579b0abe004bb0488949
Headers show

Commit Message

Antonio Quartulli Feb. 8, 2012, 9:10 p.m. UTC
In case of !defined(IEEE8021X_EAPOL) the definition of the stub
pmksa_cache_get() in rsn_supp/pmksa_cache.h is not correct. This patch adds the
missing argument to the function definition.

Signed-hostap: Antonio Quartulli <ordex@autistici.org>
---
 src/rsn_supp/pmksa_cache.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Jouni Malinen Feb. 11, 2012, 8:48 a.m. UTC | #1
On Wed, Feb 08, 2012 at 10:10:35PM +0100, Antonio Quartulli wrote:
> In case of !defined(IEEE8021X_EAPOL) the definition of the stub
> pmksa_cache_get() in rsn_supp/pmksa_cache.h is not correct. This patch adds the
> missing argument to the function definition.

Thanks! Applied.
diff mbox

Patch

diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
index e48d596..930e06e 100644
--- a/src/rsn_supp/pmksa_cache.h
+++ b/src/rsn_supp/pmksa_cache.h
@@ -83,7 +83,8 @@  static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa)
 }
 
 static inline struct rsn_pmksa_cache_entry *
-pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid)
+pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid,
+		const void *network_ctx)
 {
 	return NULL;
 }