Skip to content

Commit 38869d7

Browse files
Amitkumar Karwarlinvjw
authored andcommitted
mwifiex: fix minor issue in debugfs command 'info'
Debugfs command 'info' shows wrong interface type. The regression occurred due to commit eecd825 (mwifiex: remove MWIFIEX_BSS_MODE_ macros) in which we replaced MWIFIEX_BSS_MODE_* macros by NL80211_IFTYPE_*, for example, MWIFIEX_BSS_MODE_IBSS (2) --> NL80211_IFTYPE_ADHOC (1) The issue is fixed by swapping static character array used to display interface type information. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent e6faada commit 38869d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/wireless/mwifiex/debugfs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ static struct dentry *mwifiex_dfs_dir;
2727

2828
static char *bss_modes[] = {
2929
"Unknown",
30-
"Managed",
3130
"Ad-hoc",
31+
"Managed",
3232
"Auto"
3333
};
3434

0 commit comments

Comments
 (0)