Browse Source

driver_osx: Update set_key arguments to fix build

Jouni Malinen 15 years ago
parent
commit
f8130b07bb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/drivers/driver_osx.m

+ 2 - 1
src/drivers/driver_osx.m

@@ -303,7 +303,8 @@ static int wpa_driver_osx_associate(void *priv,
 }
 
 
-static int wpa_driver_osx_set_key(const char *ifname, void *priv, wpa_alg alg, const u8 *addr,
+static int wpa_driver_osx_set_key(const char *ifname, void *priv,
+				  enum wpa_alg alg, const u8 *addr,
 				  int key_idx, int set_tx, const u8 *seq,
 				  size_t seq_len, const u8 *key,
 				  size_t key_len)