mirror of https://github.com/hak5/openwrt-owl.git
hostapd: fix a compiler warning in ap+station patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45062owl
parent
7cc4cbb4d3
commit
44218424f1
|
@ -53,7 +53,7 @@
|
|||
+{
|
||||
+ const char *cmd = "STOP_AP";
|
||||
+ char buf[256];
|
||||
+ int len = sizeof(buf);
|
||||
+ size_t len = sizeof(buf);
|
||||
+
|
||||
+ if (wpa_ctrl_request(wpa_s->hostapd, cmd, os_strlen(cmd), buf, &len, NULL) < 0) {
|
||||
+ wpa_printf(MSG_ERROR, "\nFailed to stop hostapd AP interfaces\n");
|
||||
|
@ -66,7 +66,7 @@
|
|||
+{
|
||||
+ char *cmd = NULL;
|
||||
+ char buf[256];
|
||||
+ int len = sizeof(buf);
|
||||
+ size_t len = sizeof(buf);
|
||||
+ enum hostapd_hw_mode hw_mode;
|
||||
+ u8 channel;
|
||||
+ int sec_chan = 0;
|
||||
|
|
Loading…
Reference in New Issue