Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265429
b: refs/heads/master
c: 12c5ffb
h: refs/heads/master
i:
  265427: 1f2cfc5
v: v3
  • Loading branch information
Joe Perches authored and John W. Linville committed Aug 9, 2011
1 parent 15bb7c2 commit fb818ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f74b9d365ddd33a375802b064f96a5d0e99af7c0
refs/heads/master: 12c5ffb5c4601a11b08533609d4bf119e2f22cf5
14 changes: 6 additions & 8 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@
#include "nl80211.h"

#ifdef CONFIG_CFG80211_REG_DEBUG
#define REG_DBG_PRINT(format, args...) \
do { \
printk(KERN_DEBUG pr_fmt(format), ##args); \
} while (0)
#define REG_DBG_PRINT(format, args...) \
printk(KERN_DEBUG pr_fmt(format), ##args)
#else
#define REG_DBG_PRINT(args...)
#endif
Expand Down Expand Up @@ -890,7 +888,7 @@ static bool ignore_reg_update(struct wiphy *wiphy,
wiphy->flags & WIPHY_FLAG_CUSTOM_REGULATORY) {
REG_DBG_PRINT("Ignoring regulatory request %s "
"since the driver uses its own custom "
"regulatory domain ",
"regulatory domain\n",
reg_initiator_name(initiator));
return true;
}
Expand All @@ -904,7 +902,7 @@ static bool ignore_reg_update(struct wiphy *wiphy,
!is_world_regdom(last_request->alpha2)) {
REG_DBG_PRINT("Ignoring regulatory request %s "
"since the driver requires its own regulatory "
"domain to be set first",
"domain to be set first\n",
reg_initiator_name(initiator));
return true;
}
Expand Down Expand Up @@ -1474,7 +1472,7 @@ static void reg_process_pending_hints(void)
/* When last_request->processed becomes true this will be rescheduled */
if (last_request && !last_request->processed) {
REG_DBG_PRINT("Pending regulatory request, waiting "
"for it to be processed...");
"for it to be processed...\n");
goto out;
}

Expand Down Expand Up @@ -2187,7 +2185,7 @@ void reg_device_remove(struct wiphy *wiphy)
static void reg_timeout_work(struct work_struct *work)
{
REG_DBG_PRINT("Timeout while waiting for CRDA to reply, "
"restoring regulatory settings");
"restoring regulatory settings\n");
restore_regulatory_settings(true);
}

Expand Down

0 comments on commit fb818ff

Please sign in to comment.