hostapd: fix a few compile errors and warnings

SVN-Revision: 26751
This commit is contained in:
Felix Fietkau
2011-04-24 03:34:46 +00:00
parent e15e8f6976
commit cbbe49a1d8
6 changed files with 46 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -4919,9 +4919,6 @@ static int wpa_driver_nl80211_set_mode(v
@@ -4921,9 +4921,6 @@ static int wpa_driver_nl80211_set_mode(v
/* Try to set the mode again while the interface is
* down */
ret = nl80211_set_mode(drv, drv->ifindex, nlmode);
@@ -10,7 +10,7 @@
if (!ret)
break;
} else
@@ -4934,6 +4931,8 @@ static int wpa_driver_nl80211_set_mode(v
@@ -4936,6 +4933,8 @@ static int wpa_driver_nl80211_set_mode(v
wpa_printf(MSG_DEBUG, "nl80211: Mode change succeeded while "
"interface is down");
drv->nlmode = nlmode;