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:
commit
e300d955de
106 changed files with 9726 additions and 8521 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue