public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 6a79396ce6dba66f4f8cce26a743be3496a8902c
Date: Tue, 25 Mar 2014 19:14:48 +0100	[thread overview]
Message-ID: <20140325181455.85D8C20C37@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2132 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  6a79396ce6dba66f4f8cce26a743be3496a8902c (commit)
      from  91eb94ee2f95c8d0e5ca709ea8e1480959581f7c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6a79396ce6dba66f4f8cce26a743be3496a8902c
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Tue Mar 25 19:11:03 2014 +0100

    hostapd: change setting of the regdomain.
    
    the regdomain is only updated if it was really changed but after boot
    the system believe it is "00" World but it is not correctly set at
    some cards. So we set a region and set it back to "00" before the
    real region was set.

-----------------------------------------------------------------------

Summary of changes:
 lfs/hostapd                    | 2 +-
 src/initscripts/init.d/hostapd | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

Difference in files:
diff --git a/lfs/hostapd b/lfs/hostapd
index 36343de..5560a42 100644
--- a/lfs/hostapd
+++ b/lfs/hostapd
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = hostapd
-PAK_VER    = 28
+PAK_VER    = 29
 
 DEPS       = ""
 
diff --git a/src/initscripts/init.d/hostapd b/src/initscripts/init.d/hostapd
index c0b11e6..8f59a7f 100644
--- a/src/initscripts/init.d/hostapd
+++ b/src/initscripts/init.d/hostapd
@@ -75,7 +75,10 @@ case "${1}" in
 			fi
 		fi
 
-		# First reset to World (00) and then set new country
+		# First set to any country then reset to World (00)
+		# and then set new country because the card is only
+		# reprogrammed if the region was changed.
+		/usr/sbin/iw reg set DE
 		/usr/sbin/iw reg set 00
 		/usr/sbin/iw reg set $COUNTRY
 


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2014-03-25 18:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140325181455.85D8C20C37@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox