Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts: drivers/net/wireless/wl12xx/wl1271_cmd.h
This commit is contained in:
@@ -186,7 +186,7 @@ int prism2_wds_add(local_info_t *local, u8 *remote_addr,
|
||||
return -ENOBUFS;
|
||||
|
||||
/* verify that there is room for wds# postfix in the interface name */
|
||||
if (strlen(local->dev->name) > IFNAMSIZ - 5) {
|
||||
if (strlen(local->dev->name) >= IFNAMSIZ - 5) {
|
||||
printk(KERN_DEBUG "'%s' too long base device name\n",
|
||||
local->dev->name);
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user