File: 22_madwifi_plaintext.dpatch

package info (click to toggle)
hostapd 1%3A0.5.5-3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,360 kB
  • ctags: 5,937
  • sloc: ansic: 46,225; sh: 2,355; makefile: 405; perl: 79
file content (21 lines) | stat: -rw-r--r-- 660 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh /usr/share/dpatch/dpatch-run
## madwifi_plaintext.patch by Matt Brown <mattb@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Backport fixes for madwifi from 0.5.6
## DP: 
## DP: Allow the hostapd_flush_old_stations call to fail

@DPATCH@
--- hostapd.orig/hostapd.c    2006/10/07 00:06:53 1.167
+++ hostapd/hostapd.c    2006/10/16 00:00:11 1.168
@@ -839,8 +839,7 @@
 		printf("Could not select hw_mode and channel.\n");
 	}
 
-	if (hostapd_flush_old_stations(hapd))
-		return -1;
+	hostapd_flush_old_stations(hapd);
 
 	if (hostapd_ctrl_iface_init(hapd)) {
 		printf("Failed to setup control interface\n");