Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300865
b: refs/heads/master
c: 5e218b7
h: refs/heads/master
i:
  300863: 74fb27e
v: v3
  • Loading branch information
Amitkumar Karwar authored and John W. Linville committed Apr 12, 2012
1 parent a7f428b commit a933c98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 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: 9e04a7c6d45fd70be55fcb48ec49f55dad9928f7
refs/heads/master: 5e218b7ab86ed6eb3d1432146c49cbb8733414d0
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/mwifiex/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ mwifiex_info_read(struct file *file, char __user *ubuf,
p += sprintf(p, "essid=\"%s\"\n", info.ssid.ssid);
p += sprintf(p, "bssid=\"%pM\"\n", info.bssid);
p += sprintf(p, "channel=\"%d\"\n", (int) info.bss_chan);
p += sprintf(p, "region_code = \"%02x\"\n", info.region_code);
p += sprintf(p, "country_code = \"%s\"\n", info.country_code);

netdev_for_each_mc_addr(ha, netdev)
p += sprintf(p, "multicast_address[%d]=\"%pM\"\n",
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/mwifiex/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct mwifiex_bss_info {
u32 bss_mode;
struct cfg80211_ssid ssid;
u32 bss_chan;
u32 region_code;
u8 country_code[3];
u32 media_connected;
u32 max_power_level;
u32 min_power_level;
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/mwifiex/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ int mwifiex_get_bss_info(struct mwifiex_private *priv,

info->bss_chan = bss_desc->channel;

info->region_code = adapter->region_code;
memcpy(info->country_code, priv->country_code,
IEEE80211_COUNTRY_STRING_LEN);

info->media_connected = priv->media_connected;

Expand Down

0 comments on commit a933c98

Please sign in to comment.